Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001336/0.001336, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001483/0.001483, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 51.91 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2988, allocations: 53.35 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02015/0.3189, allocations: 16.61 MB / 447.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.3302, allocations: 4.169 MB / 451.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003418/0.3336, allocations: 163.2 kB / 452.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01759/0.3512, allocations: 7.51 MB / 459.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.357, allocations: 1.365 MB / 461 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.3612, allocations: 1.266 MB / 462.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01183/0.373, allocations: 8.312 MB / 470.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03104/0.404, allocations: 14.36 MB / 484.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009148/0.4132, allocations: 4.914 MB / 489.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.4237, allocations: 5.357 MB / 495.2 MB, free: 6.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004128/0.4278, allocations: 1.383 MB / 496.6 MB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.4329, allocations: 1.671 MB / 498.2 MB, free: 3.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0035/0.4364, allocations: 2.584 MB / 0.4891 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009592/0.446, allocations: 5.218 MB / 0.4942 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02222/0.4682, allocations: 18.36 MB / 0.5121 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4682, allocations: 0 / 0.5121 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4682, allocations: 4 kB / 0.5121 GB, free: 9.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005098/0.4687, allocations: 0 / 0.5121 GB, free: 9.172 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03099/0.4997, allocations: 10.55 MB / 0.5224 GB, free: 14.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.4998, allocations: 8.031 kB / 0.5224 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004123/0.5039, allocations: 1.294 MB / 0.5237 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.5244, allocations: 3.706 MB / 0.5273 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.5386, allocations: 5.433 MB / 0.5326 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008235/0.5394, allocations: 0.6785 MB / 0.5333 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00329/0.5427, allocations: 0.8867 MB / 0.5341 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4954/1.038, allocations: 12.74 MB / 0.5466 GB, free: 84.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004294/1.039, allocations: 6.891 kB / 0.5466 GB, free: 84.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002719/1.041, allocations: 379.2 kB / 0.5469 GB, free: 84.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/1.042, allocations: 400.9 kB / 0.5473 GB, free: 84.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/1.066, allocations: 11.43 MB / 0.5585 GB, free: 78.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06196/1.128, allocations: 42.38 MB / 0.5999 GB, free: 36.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/1.135, allocations: 4.213 MB / 0.604 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/1.137, allocations: 1.53 MB / 0.6055 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/1.137, allocations: 78.44 kB / 0.6055 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.137, allocations: 64.48 kB / 0.6056 GB, free: 30.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.448e-06/1.137, allocations: 0 / 0.6056 GB, free: 30.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007252/1.144, allocations: 4.604 MB / 0.6101 GB, free: 25.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/1.145, allocations: 77.34 kB / 0.6102 GB, free: 25.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/1.148, allocations: 2.932 MB / 0.613 GB, free: 22.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002567/1.148, allocations: 61.7 kB / 0.6131 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/1.15, allocations: 3.976 MB / 0.617 GB, free: 19.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007061/1.151, allocations: 0.8251 MB / 0.6178 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/1.152, allocations: 0.9644 MB / 0.6187 GB, free: 17.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.195e-05/1.152, allocations: 305.1 kB / 0.619 GB, free: 17.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/1.154, allocations: 1.973 MB / 0.6209 GB, free: 15.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/1.157, allocations: 4.161 MB / 0.625 GB, free: 9.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/1.163, allocations: 6.521 MB / 0.6314 GB, free: 2.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.355e-05/1.163, allocations: 20 kB / 0.6314 GB, free: 2.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.011/1.174, allocations: 6.521 MB / 0.6378 GB, free: 11.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/1.174, allocations: 44.12 kB / 0.6378 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.174, allocations: 76 kB / 0.6379 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008926/1.175, allocations: 416.5 kB / 0.6383 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/1.178, allocations: 1.065 MB / 0.6393 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/1.184, allocations: 4.283 MB / 0.6435 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.187, allocations: 0.6325 MB / 0.6441 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/1.187, allocations: 248 kB / 0.6444 GB, free: 4.934 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005839/1.193, allocations: 3.374 MB / 0.6476 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008461/1.194, allocations: 286.2 kB / 0.6479 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/1.201, allocations: 3.565 MB / 0.6514 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004409/1.205, allocations: 2.811 MB / 0.6541 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.205, allocations: 4 kB / 0.6542 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.205, allocations: 11.95 kB / 0.6542 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/1.224, allocations: 9.908 MB / 0.6638 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.224, allocations: 8.156 kB / 0.6638 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.226, allocations: 411.4 kB / 0.6642 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007653/1.227, allocations: 320.5 kB / 0.6645 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.227, allocations: 51.98 kB / 0.6646 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005313/1.232, allocations: 4.093 MB / 0.6686 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/1.232, allocations: 11.97 kB / 0.6686 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008085/1.24, allocations: 5.15 MB / 0.6736 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.242, allocations: 0.5561 MB / 0.6742 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/1.243, allocations: 44 kB / 0.6742 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.244, allocations: 127.8 kB / 0.6743 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/1.244, allocations: 161.8 kB / 0.6745 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.244, allocations: 67.92 kB / 0.6746 GB, free: 5.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003383/1.248, allocations: 1.963 MB / 0.6765 GB, free: 3.754 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.248, allocations: 0 / 0.6765 GB, free: 3.754 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005791/1.253, allocations: 1.988 MB / 0.6784 GB, free: 1.758 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008699/1.262, allocations: 5.792 MB / 0.6841 GB, free: 11.92 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008012/1.27, allocations: 4.439 MB / 0.6884 GB, free: 7.477 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.27, allocations: 1.875 kB / 0.6884 GB, free: 7.477 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/1.273, allocations: 1.622 MB / 0.69 GB, free: 5.844 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.276, allocations: 0.6792 MB / 0.6907 GB, free: 5.18 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07188/1.348, allocations: 40.29 MB / 0.73 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008726/1.357, allocations: 5.649 MB / 0.7355 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004292/1.361, allocations: 1.694 MB / 0.7372 GB, free: 2.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004974/1.366, allocations: 2.741 MB / 0.7398 GB, free: 104 kB / 0.545 GB Notification: Performance of SimCode: time 2.094e-06/1.366, allocations: 0 / 0.7398 GB, free: 104 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3567/1.722, allocations: 94.96 MB / 0.8326 GB, free: 109.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/19.91, allocations: 10.86 kB / 0.8326 GB, free: 109.5 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.850811555981636]