Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001335/0.001335, allocations: 109.5 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.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.001555/0.001555, allocations: 181.8 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.387/1.387, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 39.94 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3135, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008826/0.3223, allocations: 6.068 MB / 428.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.3259, allocations: 1.643 MB / 430.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008448/0.3267, allocations: 63.62 kB / 430.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.3275, allocations: 313.5 kB / 430.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.3288, allocations: 393.4 kB / 431.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007742/0.3296, allocations: 359.5 kB / 431.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.3321, allocations: 2.017 MB / 433.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.3343, allocations: 1.599 MB / 435.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.3356, allocations: 1.063 MB / 436.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.3374, allocations: 1.214 MB / 437.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000557/0.338, allocations: 308 kB / 437.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.339, allocations: 0.5502 MB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000738/0.3397, allocations: 0.7402 MB / 438.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.3412, allocations: 1.253 MB / 440.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004721/0.3459, allocations: 3.827 MB / 444 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3459, allocations: 0 / 444 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.346, allocations: 3.938 kB / 444 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.3461, allocations: 0 / 444 MB, free: 9.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005467/0.3515, allocations: 2.439 MB / 446.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.3516, allocations: 12.03 kB / 446.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004305/0.352, allocations: 324.8 kB / 446.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/0.3526, allocations: 251.4 kB / 447 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.3551, allocations: 1.25 MB / 448.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.3552, allocations: 168.9 kB / 448.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/0.3556, allocations: 223.9 kB / 448.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/0.3602, allocations: 2.545 MB / 451.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.393e-05/0.3603, allocations: 0 / 451.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.3604, allocations: 88 kB / 451.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/0.3605, allocations: 60 kB / 451.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/0.3642, allocations: 2.134 MB / 453.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.377, allocations: 7.366 MB / 460.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3781, allocations: 0.6887 MB / 461.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.3792, allocations: 0.6024 MB / 462.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.3792, allocations: 4.5 kB / 462.1 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.3793, allocations: 47.06 kB / 462.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.336e-06/0.3793, allocations: 0 / 462.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004518/0.3838, allocations: 2.387 MB / 464.6 MB, free: 4.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3838, allocations: 56.06 kB / 464.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.385, allocations: 0.7933 MB / 465.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.385, allocations: 33.7 kB / 465.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/0.3857, allocations: 0.9518 MB / 466.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.386, allocations: 238 kB / 466.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.3862, allocations: 150.6 kB / 466.8 MB, free: 1.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.3864, allocations: 390.8 kB / 467.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.387, allocations: 361.8 kB / 467.5 MB, free: 1.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008309/0.3878, allocations: 0.5829 MB / 468.1 MB, free: 396 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.3894, allocations: 0.9833 MB / 469.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3894, allocations: 0 / 469.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002195/0.3916, allocations: 1.157 MB / 470.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.3916, allocations: 15.38 kB / 470.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.3916, allocations: 8 kB / 470.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.392, allocations: 112.7 kB / 470.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.3927, allocations: 171.7 kB / 470.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.3953, allocations: 2.222 MB / 472.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.3958, allocations: 39.97 kB / 472.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.3959, allocations: 39.94 kB / 472.9 MB, free: 11.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0014/0.3973, allocations: 0.6457 MB / 473.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.3976, allocations: 95.36 kB / 473.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3979, allocations: 95.56 kB / 473.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/0.3979, allocations: 12.06 kB / 473.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/0.3979, allocations: 4 kB / 473.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3979, allocations: 3.984 kB / 473.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.403, allocations: 2.629 MB / 476.3 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.403, allocations: 4 kB / 476.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.4035, allocations: 108 kB / 476.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.4037, allocations: 100.8 kB / 476.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.4038, allocations: 19.92 kB / 476.6 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.4061, allocations: 2.172 MB / 478.7 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4061, allocations: 0 / 478.7 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.4085, allocations: 1.423 MB / 480.2 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.409, allocations: 147.4 kB / 480.3 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.4091, allocations: 19.94 kB / 480.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.4095, allocations: 43.95 kB / 480.4 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.4097, allocations: 44.47 kB / 480.4 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.4097, allocations: 27.98 kB / 480.4 MB, free: 3.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008919/0.4106, allocations: 0.5536 MB / 481 MB, free: 3.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4106, allocations: 0 / 481 MB, free: 3.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001373/0.412, allocations: 303.9 kB / 481.3 MB, free: 2.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00291/0.4149, allocations: 2.002 MB / 483.3 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.4168, allocations: 0.9682 MB / 484.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.4168, allocations: 3.938 kB / 484.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009328/0.4178, allocations: 0.5373 MB / 484.8 MB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4189, allocations: 218.8 kB / 485 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.4362, allocations: 10.16 MB / 495.2 MB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.438, allocations: 1.717 MB / 496.9 MB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006734/0.4386, allocations: 207.1 kB / 497.1 MB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008816/0.4395, allocations: 0.636 MB / 497.7 MB, free: 1.84 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4395, allocations: 0 / 497.7 MB, free: 1.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07744/0.517, allocations: 25.08 MB / 0.5105 GB, free: 9.016 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.37, allocations: 9.594 kB / 0.5106 GB, free: 9.012 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.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: 15.838652102975175]