Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9066/0.9066, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.89e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01062/0.01063, allocations: 10.43 MB / 335 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006701/0.01734, allocations: 3.662 MB / 338.7 MB, free: 1.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.0198, allocations: 91.38 kB / 338.8 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.02244, allocations: 0.8702 MB / 339.6 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.02602, allocations: 1.188 MB / 340.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.02723, allocations: 0.4953 MB / 341.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004235/0.03147, allocations: 4.384 MB / 345.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.03343, allocations: 1.786 MB / 347.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.03669, allocations: 2.834 MB / 350.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/0.03911, allocations: 2.093 MB / 352.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007575/0.03987, allocations: 0.496 MB / 352.9 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009009/0.04077, allocations: 0.5935 MB / 353.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009373/0.0417, allocations: 1.453 MB / 355 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.0434, allocations: 1.528 MB / 356.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005103/0.04851, allocations: 6.677 MB / 363.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.04851, allocations: 0 / 363.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.04851, allocations: 0 / 363.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.04866, allocations: 0 / 363.2 MB, free: 9.141 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006288/0.05495, allocations: 4.305 MB / 367.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.055, allocations: 12.03 kB / 367.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004139/0.05541, allocations: 442.6 kB / 367.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.05624, allocations: 494.2 kB / 368.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.05915, allocations: 2.355 MB / 370.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.05928, allocations: 230.5 kB / 371 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006037/0.05988, allocations: 311.9 kB / 371.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/0.06494, allocations: 4.603 MB / 375.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/0.06499, allocations: 7.953 kB / 375.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.0652, allocations: 127.9 kB / 376 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.908e-05/0.06528, allocations: 134 kB / 376.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00449/0.06978, allocations: 3.771 MB / 379.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.0833, allocations: 12.19 MB / 392.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.08554, allocations: 2.09 MB / 394.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.08719, allocations: 1.563 MB / 395.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.08736, allocations: 49.28 kB / 395.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.08739, allocations: 51.88 kB / 395.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=164): time 3.146e-06/0.08739, allocations: 0 / 395.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=180): time 0.01117/0.09856, allocations: 8.506 MB / 404.4 MB, free: 15.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.0986, allocations: 69.41 kB / 404.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.1011, allocations: 2.397 MB / 406.8 MB, free: 12.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.1012, allocations: 57.7 kB / 406.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009099/0.1021, allocations: 1.505 MB / 408.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.1025, allocations: 0.6274 MB / 409 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/0.1029, allocations: 367.4 kB / 409.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.1029, allocations: 305.1 kB / 409.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.1041, allocations: 1.12 MB / 410.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.1055, allocations: 1.567 MB / 412.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.1086, allocations: 2.788 MB / 415.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.1086, allocations: 4 kB / 415.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.004312/0.1129, allocations: 3.586 MB / 418.7 MB, free: 420 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1129, allocations: 16.03 kB / 418.8 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.113, allocations: 12 kB / 418.8 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.1142, allocations: 0.7942 MB / 419.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.1152, allocations: 463.3 kB / 420 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/0.1227, allocations: 10.59 MB / 430.6 MB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.1242, allocations: 131.9 kB / 430.7 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.1244, allocations: 80 kB / 430.8 MB, free: 3.746 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001523/0.1259, allocations: 1.09 MB / 431.9 MB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.1263, allocations: 262.3 kB / 432.2 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.1301, allocations: 3.293 MB / 435.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.1301, allocations: 16 kB / 435.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1301, allocations: 8 kB / 435.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.1301, allocations: 7.969 kB / 435.5 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/0.138, allocations: 6.419 MB / 441.9 MB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.138, allocations: 4 kB / 441.9 MB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/0.1387, allocations: 295.8 kB / 442.2 MB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.1403, allocations: 0.9198 MB / 443.1 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.1404, allocations: 39.98 kB / 443.2 MB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1501/0.2905, allocations: 13.79 MB / 456.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2905, allocations: 3.812 kB / 456.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00452/0.295, allocations: 4.857 MB / 461.8 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/0.2959, allocations: 0.5095 MB / 462.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.2961, allocations: 37.78 kB / 462.4 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/0.2967, allocations: 119.1 kB / 462.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.297, allocations: 161.5 kB / 462.6 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.2971, allocations: 52.02 kB / 462.7 MB, free: 105.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001493/0.2986, allocations: 1.638 MB / 464.3 MB, free: 105 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2986, allocations: 0 / 464.3 MB, free: 105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001415/0.3, allocations: 0.7115 MB / 465 MB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004177/0.3042, allocations: 5.518 MB / 470.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.307, allocations: 3.333 MB / 473.9 MB, free: 97.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3071, allocations: 0 / 473.9 MB, free: 97.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.3088, allocations: 2.348 MB / 476.2 MB, free: 94.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.3109, allocations: 0.7183 MB / 476.9 MB, free: 94.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/0.3394, allocations: 26.41 MB / 0.4916 GB, free: 67.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.3405, allocations: 1.972 MB / 0.4935 GB, free: 65.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001079/0.3416, allocations: 0.5906 MB / 0.4941 GB, free: 64.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008772/0.3425, allocations: 1.27 MB / 0.4953 GB, free: 63.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3425, allocations: 0 / 0.4953 GB, free: 63.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07864/0.4211, allocations: 71.27 MB / 0.5649 GB, free: 8.867 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/9.367, allocations: 11.67 kB / 0.5649 GB, free: 8.859 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 13.04968279413879]