Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 79.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 141.5 kB / 24.54 MB, free: 44 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9576/0.9576, allocations: 173.4 MB / 201.2 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.815e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1429/0.1429, allocations: 24.32 MB / 292.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.1571, allocations: 7.28 MB / 299.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.1602, allocations: 221.6 kB / 299.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0119/0.1721, allocations: 9.429 MB / 309.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006789/0.1789, allocations: 3.04 MB / 312.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.182, allocations: 1.732 MB / 314.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009372/0.1914, allocations: 11.2 MB / 325.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01932/0.2107, allocations: 14.22 MB / 339.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008907/0.2196, allocations: 8.682 MB / 348.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007068/0.2267, allocations: 6.051 MB / 354.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003178/0.2298, allocations: 1.672 MB / 355.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.2328, allocations: 2.046 MB / 357.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002088/0.2349, allocations: 3.269 MB / 361.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004899/0.2398, allocations: 4.125 MB / 365.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009624/0.2494, allocations: 10.39 MB / 375.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2494, allocations: 0 / 375.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2494, allocations: 0 / 375.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000195/0.2496, allocations: 0 / 375.7 MB, free: 14.99 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.01874/0.2684, allocations: 13.64 MB / 389.4 MB, free: 1.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.2684, allocations: 8.922 kB / 389.4 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/0.2868, allocations: 7.826 MB / 397.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009473/0.2962, allocations: 6.682 MB / 403.9 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/0.2966, allocations: 0.6985 MB / 404.6 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.2981, allocations: 0.9257 MB / 405.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.3122, allocations: 8.244 MB / 413.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.3124, allocations: 7.953 kB / 413.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006738/0.3131, allocations: 392 kB / 414.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003875/0.3134, allocations: 0.5547 MB / 414.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009045/0.3225, allocations: 4.568 MB / 419.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/0.5155, allocations: 40.73 MB / 460 MB, free: 75.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009048/0.5246, allocations: 7.96 MB / 467.9 MB, free: 75.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.5263, allocations: 1.339 MB / 469.3 MB, free: 75.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.5265, allocations: 111.1 kB / 469.4 MB, free: 75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.5266, allocations: 75.23 kB / 469.5 MB, free: 74.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=398): time 5.641e-06/0.5266, allocations: 0 / 469.5 MB, free: 74.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=404): time 0.01715/0.5437, allocations: 10.26 MB / 479.7 MB, free: 73.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5438, allocations: 92.45 kB / 479.8 MB, free: 72.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.5471, allocations: 3.292 MB / 483.1 MB, free: 72.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.5473, allocations: 93.92 kB / 483.2 MB, free: 72.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001783/0.5491, allocations: 4.361 MB / 487.6 MB, free: 69.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/0.5498, allocations: 1.474 MB / 489 MB, free: 68.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.551, allocations: 1.265 MB / 490.3 MB, free: 68.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.5511, allocations: 480.6 kB / 490.8 MB, free: 68.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.5524, allocations: 0.8706 MB / 491.6 MB, free: 68.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.5546, allocations: 4.121 MB / 495.8 MB, free: 63.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.5585, allocations: 5.49 MB / 0.4895 GB, free: 56.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.5586, allocations: 20 kB / 0.4895 GB, free: 56.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006506/0.5651, allocations: 5.304 MB / 0.4947 GB, free: 52.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.5651, allocations: 39.94 kB / 0.4947 GB, free: 51.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/0.5651, allocations: 68 kB / 0.4948 GB, free: 51.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.5672, allocations: 1.118 MB / 0.4959 GB, free: 50.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.5695, allocations: 1.323 MB / 0.4972 GB, free: 49.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.5757, allocations: 6.05 MB / 0.5031 GB, free: 43.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.5778, allocations: 327.6 kB / 0.5034 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.5781, allocations: 284 kB / 0.5037 GB, free: 42.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001902/0.58, allocations: 0.5333 MB / 0.5042 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/0.5805, allocations: 0.517 MB / 0.5047 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.5852, allocations: 3.67 MB / 0.5083 GB, free: 38.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003379/0.5886, allocations: 2.653 MB / 0.5109 GB, free: 35.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.5886, allocations: 15.98 kB / 0.5109 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.5886, allocations: 19.92 kB / 0.5109 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.6013, allocations: 11.3 MB / 0.522 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6013, allocations: 4 kB / 0.522 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.6028, allocations: 0.7241 MB / 0.5227 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.6047, allocations: 1.012 MB / 0.5237 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.6049, allocations: 87.98 kB / 0.5237 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005443/0.6103, allocations: 5.573 MB / 0.5292 GB, free: 16.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.6103, allocations: 11.28 kB / 0.5292 GB, free: 16.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.616, allocations: 4.663 MB / 0.5337 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.6172, allocations: 0.8251 MB / 0.5345 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.6174, allocations: 76 kB / 0.5346 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000899/0.6183, allocations: 195.8 kB / 0.5348 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.6187, allocations: 302.6 kB / 0.5351 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.6188, allocations: 120 kB / 0.5352 GB, free: 10.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001628/0.6204, allocations: 1.51 MB / 0.5367 GB, free: 9.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6204, allocations: 0 / 0.5367 GB, free: 9.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003667/0.6241, allocations: 1.601 MB / 0.5383 GB, free: 7.426 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004199/0.6245, allocations: 281.9 kB / 0.5385 GB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005002/0.6295, allocations: 4.098 MB / 0.5425 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6295, allocations: 5.875 kB / 0.5425 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.6318, allocations: 2.111 MB / 0.5446 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.6338, allocations: 0.891 MB / 0.5455 GB, free: 380 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.6515, allocations: 13.87 MB / 0.559 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.6535, allocations: 2.602 MB / 0.5615 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002867/0.6564, allocations: 1.602 MB / 0.5631 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000715/0.6571, allocations: 336.4 kB / 0.5634 GB, free: 13.76 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6571, allocations: 0 / 0.5634 GB, free: 13.76 MB / 410.7 MB Notification: Performance of Templates: time 0.2093/0.8665, allocations: 59.73 MB / 0.6218 GB, free: 98.62 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.679716369137168]