Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.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.001334/0.001334, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001556/0.001556, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.94 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 53.38 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007562/0.2594, allocations: 5.351 MB / 436.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.2629, allocations: 1.639 MB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.2634, allocations: 59.62 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.2641, allocations: 321.4 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.2653, allocations: 389.5 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006756/0.266, allocations: 359.5 kB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.2681, allocations: 2.017 MB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.2702, allocations: 1.605 MB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.2716, allocations: 1.067 MB / 443.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.2733, allocations: 1.226 MB / 445.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.2736, allocations: 312 kB / 445.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007592/0.2744, allocations: 463.6 kB / 445.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.2751, allocations: 0.7403 MB / 446.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.2764, allocations: 1.012 MB / 447.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004387/0.2808, allocations: 3.827 MB / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2808, allocations: 0 / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2808, allocations: 0 / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.368e-05/0.2809, allocations: 0 / 451.4 MB, free: 2.141 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.005128/0.286, allocations: 2.454 MB / 453.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.286, allocations: 12.03 kB / 453.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004078/0.2864, allocations: 324.9 kB / 454.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/0.2873, allocations: 283.4 kB / 454.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.2899, allocations: 1.266 MB / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.29, allocations: 172.9 kB / 455.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.2903, allocations: 219.9 kB / 456.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004584/0.2949, allocations: 2.621 MB / 458.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.295, allocations: 0 / 458.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.2952, allocations: 92 kB / 458.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-05/0.2953, allocations: 56 kB / 458.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003814/0.2991, allocations: 2.137 MB / 461 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.3113, allocations: 6.723 MB / 467.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3124, allocations: 0.6986 MB / 468.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.3135, allocations: 0.5829 MB / 469.1 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.3136, allocations: 8.5 kB / 469.1 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.3136, allocations: 39.06 kB / 469.1 MB, free: 68 kB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.027e-06/0.3136, allocations: 4 kB / 469.1 MB, free: 64 kB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004603/0.3182, allocations: 2.379 MB / 471.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.3183, allocations: 60.06 kB / 471.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.3195, allocations: 0.8127 MB / 472.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.3196, allocations: 37.7 kB / 472.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/0.3204, allocations: 0.9479 MB / 473.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.3206, allocations: 242 kB / 473.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.3208, allocations: 146.6 kB / 473.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.3211, allocations: 390.7 kB / 474.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.3217, allocations: 365.8 kB / 474.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.3225, allocations: 0.5752 MB / 475 MB, free: 9.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.324, allocations: 0.9911 MB / 476 MB, free: 8.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.324, allocations: 0 / 476 MB, free: 8.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002104/0.3261, allocations: 1.157 MB / 477.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3261, allocations: 12.09 kB / 477.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.3262, allocations: 11.94 kB / 477.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.3265, allocations: 108.8 kB / 477.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/0.3272, allocations: 167.7 kB / 477.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.3298, allocations: 2.218 MB / 479.7 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.3303, allocations: 35.97 kB / 479.7 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.3304, allocations: 32 kB / 479.8 MB, free: 4.996 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.001264/0.3316, allocations: 0.6496 MB / 480.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.3319, allocations: 87.42 kB / 480.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3321, allocations: 107.7 kB / 480.6 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.3321, allocations: 8 kB / 480.6 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/0.3321, allocations: 4.062 kB / 480.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.3321, allocations: 7.984 kB / 480.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.3371, allocations: 2.532 MB / 483.1 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.3371, allocations: 4 kB / 483.2 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.3376, allocations: 99.88 kB / 483.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.3379, allocations: 100.8 kB / 483.3 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.338, allocations: 27.92 kB / 483.4 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.3404, allocations: 2.136 MB / 485.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3404, allocations: 4.031 kB / 485.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.3428, allocations: 1.423 MB / 486.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.3432, allocations: 159.4 kB / 487.1 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3433, allocations: 19.94 kB / 487.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.3438, allocations: 39.95 kB / 487.2 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3439, allocations: 56.41 kB / 487.2 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.344, allocations: 20 kB / 487.2 MB, free: 13.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000856/0.3448, allocations: 0.5653 MB / 487.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3448, allocations: 0 / 487.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001215/0.346, allocations: 303.9 kB / 488.1 MB, free: 12.42 MB / 398.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.002684/0.3487, allocations: 1.998 MB / 490.1 MB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.3506, allocations: 0.9679 MB / 491.1 MB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3506, allocations: 0 / 491.1 MB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008863/0.3515, allocations: 0.5376 MB / 491.6 MB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3526, allocations: 229.5 kB / 491.8 MB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.3683, allocations: 10.2 MB / 0.4902 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.3697, allocations: 1.144 MB / 0.4914 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006015/0.3703, allocations: 203.1 kB / 0.4916 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008602/0.3712, allocations: 0.6438 MB / 0.4922 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 2.014e-06/0.3712, allocations: 0 / 0.4922 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0708/0.442, allocations: 26.29 MB / 0.5179 GB, free: 2.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.88, allocations: 11.03 kB / 0.5179 GB, free: 2.078 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.403984114003833]