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.001611/0.001611, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001868/0.001868, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.047 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 47.92 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2403, allocations: 53.36 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01908/0.2594, allocations: 16.61 MB / 448.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00954/0.2689, allocations: 4.169 MB / 452.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.2722, allocations: 163.2 kB / 452.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01716/0.2894, allocations: 7.514 MB / 460.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.2952, allocations: 1.351 MB / 461.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.2993, allocations: 1.27 MB / 463 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.3106, allocations: 8.3 MB / 471.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.029/0.3396, allocations: 14.36 MB / 485.7 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007943/0.3475, allocations: 4.918 MB / 490.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009243/0.3567, allocations: 5.353 MB / 495.9 MB, free: 6.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004362/0.3611, allocations: 1.383 MB / 497.3 MB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005656/0.3668, allocations: 1.675 MB / 499 MB, free: 3.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005241/0.372, allocations: 2.584 MB / 0.4898 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009744/0.3817, allocations: 5.218 MB / 0.4949 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02276/0.4045, allocations: 18.36 MB / 0.5129 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4045, allocations: 0 / 0.5129 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4045, allocations: 3.938 kB / 0.5129 GB, free: 9.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004671/0.405, allocations: 0 / 0.5129 GB, free: 9.195 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.0343/0.4393, allocations: 10.55 MB / 0.5232 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4393, allocations: 12.02 kB / 0.5232 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003137/0.4396, allocations: 251 kB / 0.5234 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006065/0.4457, allocations: 1.291 MB / 0.5247 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/0.4659, allocations: 3.714 MB / 0.5283 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.4775, allocations: 5.429 MB / 0.5336 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006641/0.4781, allocations: 0.6785 MB / 0.5343 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003162/0.4813, allocations: 0.8867 MB / 0.5351 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4105/0.8918, allocations: 12.73 MB / 0.5476 GB, free: 84.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/0.8921, allocations: 6.891 kB / 0.5476 GB, free: 84.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001905/0.894, allocations: 377.7 kB / 0.5479 GB, free: 84.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/0.8943, allocations: 401.3 kB / 0.5483 GB, free: 84.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/0.9134, allocations: 11.43 MB / 0.5595 GB, free: 78.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05526/0.9686, allocations: 42.37 MB / 0.6009 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007494/0.9761, allocations: 4.216 MB / 0.605 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.9781, allocations: 1.527 MB / 0.6065 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.9783, allocations: 85.11 kB / 0.6066 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.9784, allocations: 60.55 kB / 0.6066 GB, free: 30.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.749e-06/0.9784, allocations: 4 kB / 0.6066 GB, free: 30.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007602/0.986, allocations: 4.593 MB / 0.6111 GB, free: 25.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.986, allocations: 81.34 kB / 0.6112 GB, free: 25.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.9906, allocations: 2.928 MB / 0.614 GB, free: 22.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003126/0.9909, allocations: 61.7 kB / 0.6141 GB, free: 22.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.9928, allocations: 3.979 MB / 0.618 GB, free: 19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007407/0.9935, allocations: 0.8342 MB / 0.6188 GB, free: 18.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.9951, allocations: 0.9566 MB / 0.6197 GB, free: 17.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.194e-05/0.9952, allocations: 305.1 kB / 0.62 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.9976, allocations: 1.969 MB / 0.6219 GB, free: 14.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/1.001, allocations: 4.169 MB / 0.626 GB, free: 9.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005426/1.006, allocations: 6.517 MB / 0.6324 GB, free: 2.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-05/1.006, allocations: 20 kB / 0.6324 GB, free: 2.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01039/1.017, allocations: 6.524 MB / 0.6388 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.96e-05/1.017, allocations: 36 kB / 0.6388 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/1.017, allocations: 76 kB / 0.6389 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/1.018, allocations: 416.6 kB / 0.6393 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003473/1.021, allocations: 1.065 MB / 0.6403 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/1.027, allocations: 4.29 MB / 0.6445 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/1.03, allocations: 0.6364 MB / 0.6451 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007447/1.031, allocations: 244 kB / 0.6454 GB, free: 4.711 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.006044/1.037, allocations: 3.369 MB / 0.6486 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008442/1.038, allocations: 286.2 kB / 0.6489 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006835/1.045, allocations: 3.573 MB / 0.6524 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004576/1.05, allocations: 2.811 MB / 0.6552 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.05, allocations: 7.938 kB / 0.6552 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/1.05, allocations: 11.95 kB / 0.6552 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.071, allocations: 9.902 MB / 0.6648 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.071, allocations: 7.938 kB / 0.6649 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.073, allocations: 411.4 kB / 0.6652 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/1.073, allocations: 316.7 kB / 0.6655 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/1.074, allocations: 51.98 kB / 0.6656 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/1.079, allocations: 4.106 MB / 0.6696 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.079, allocations: 4 kB / 0.6696 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008196/1.087, allocations: 5.146 MB / 0.6746 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.089, allocations: 0.5561 MB / 0.6752 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005093/1.089, allocations: 52.05 kB / 0.6752 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.091, allocations: 123.8 kB / 0.6753 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/1.091, allocations: 157.7 kB / 0.6755 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.091, allocations: 67.92 kB / 0.6756 GB, free: 5.504 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003774/1.095, allocations: 1.963 MB / 0.6775 GB, free: 3.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.095, allocations: 0 / 0.6775 GB, free: 3.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006479/1.101, allocations: 1.988 MB / 0.6794 GB, free: 1.535 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.008998/1.11, allocations: 5.792 MB / 0.6851 GB, free: 11.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.007923/1.118, allocations: 4.441 MB / 0.6894 GB, free: 7.254 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.118, allocations: 4.062 kB / 0.6894 GB, free: 7.25 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/1.121, allocations: 1.621 MB / 0.691 GB, free: 5.617 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/1.124, allocations: 0.6852 MB / 0.6917 GB, free: 4.949 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07339/1.198, allocations: 40.29 MB / 0.731 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/1.208, allocations: 5.649 MB / 0.7365 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004917/1.213, allocations: 1.69 MB / 0.7382 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2059/1.419, allocations: 2.746 MB / 0.7409 GB, free: 181.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.844e-06/1.419, allocations: 0.5 kB / 0.7409 GB, free: 181.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.547, allocations: 94.99 MB / 0.8336 GB, free: 106.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/18.08, allocations: 7.094 kB / 0.8336 GB, free: 106.4 MB / 0.545 GB " [Timeout remaining time 642] (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: 21.29865480499575]