Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001778/0.001778, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.002003/0.002003, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 56.55 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09726, allocations: 49.12 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0195/0.1168, allocations: 16.92 MB / 408.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009995/0.1267, allocations: 4.263 MB / 412.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.1302, allocations: 135.4 kB / 412.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01925/0.1494, allocations: 7.523 MB / 420.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006495/0.1559, allocations: 1.386 MB / 421.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.1604, allocations: 1.352 MB / 423 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01256/0.173, allocations: 8.577 MB / 431.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03793/0.2109, allocations: 17.36 MB / 448.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009745/0.2206, allocations: 5.054 MB / 454 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009644/0.2303, allocations: 5.564 MB / 459.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004266/0.2346, allocations: 1.402 MB / 461 MB, free: 2.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005903/0.2405, allocations: 1.656 MB / 462.6 MB, free: 1.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2192/0.4596, allocations: 2.712 MB / 465.3 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0191/0.4787, allocations: 5.381 MB / 470.7 MB, free: 27.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0271/0.5058, allocations: 18.59 MB / 489.3 MB, free: 21.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.5058, allocations: 0 / 489.3 MB, free: 21.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5058, allocations: 0 / 489.3 MB, free: 21.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007018/0.5065, allocations: 0 / 489.3 MB, free: 21.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03573/0.5423, allocations: 10.98 MB / 0.4886 GB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5423, allocations: 7.656 kB / 0.4886 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005707/0.548, allocations: 1.343 MB / 0.4899 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03004/0.5781, allocations: 5.753 MB / 0.4955 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.5901, allocations: 4.859 MB / 0.5002 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005376/0.5906, allocations: 0.7027 MB / 0.5009 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003801/0.5944, allocations: 0.9202 MB / 0.5018 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/0.63, allocations: 13.6 MB / 0.5151 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002955/0.6303, allocations: 15.95 kB / 0.5151 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/0.6335, allocations: 387.2 kB / 0.5155 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005404/0.634, allocations: 460 kB / 0.5159 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0316/0.6656, allocations: 12.82 MB / 0.5284 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09422/0.7598, allocations: 46.46 MB / 0.5738 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.7782, allocations: 16.85 MB / 0.5903 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003224/0.7814, allocations: 1.705 MB / 0.5919 GB, free: 8.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.7927, allocations: 5.97 MB / 0.5978 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.7927, allocations: 52.56 kB / 0.5978 GB, free: 1.996 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.937e-06/0.7927, allocations: 0 / 0.5978 GB, free: 1.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.009161/0.8019, allocations: 4.323 MB / 0.602 GB, free: 13.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.802, allocations: 73.41 kB / 0.6021 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006826/0.8088, allocations: 3.329 MB / 0.6054 GB, free: 10.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004112/0.8092, allocations: 57.7 kB / 0.6054 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003695/0.8129, allocations: 4.342 MB / 0.6097 GB, free: 5.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/0.8141, allocations: 0.731 MB / 0.6104 GB, free: 5.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/0.8161, allocations: 1.071 MB / 0.6114 GB, free: 4.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8162, allocations: 301.1 kB / 0.6117 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/0.8198, allocations: 2.044 MB / 0.6137 GB, free: 1.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006328/0.8261, allocations: 4.689 MB / 0.6183 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.8361, allocations: 7.105 MB / 0.6252 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.129e-05/0.8362, allocations: 24 kB / 0.6252 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01363/0.8498, allocations: 7.009 MB / 0.6321 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.8499, allocations: 44 kB / 0.6321 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.8501, allocations: 92 kB / 0.6322 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.8511, allocations: 431 kB / 0.6326 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/0.855, allocations: 1.18 MB / 0.6338 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.8612, allocations: 4.375 MB / 0.6381 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004692/0.8659, allocations: 0.7334 MB / 0.6388 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009094/0.8668, allocations: 288 kB / 0.639 GB, free: 6.117 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.007326/0.8741, allocations: 3.488 MB / 0.6425 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007643/0.8749, allocations: 302 kB / 0.6427 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2243/1.099, allocations: 3.303 MB / 0.646 GB, free: 177.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004546/1.104, allocations: 2.535 MB / 0.6484 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.104, allocations: 4.516 kB / 0.6484 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.104, allocations: 15.83 kB / 0.6485 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02092/1.125, allocations: 9.285 MB / 0.6575 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.125, allocations: 3.969 kB / 0.6575 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.126, allocations: 358.7 kB / 0.6579 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007124/1.127, allocations: 315.7 kB / 0.6582 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.127, allocations: 39.81 kB / 0.6582 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/1.131, allocations: 4.199 MB / 0.6623 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.131, allocations: 1.875 kB / 0.6623 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/1.137, allocations: 4.71 MB / 0.6669 GB, free: 170.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.138, allocations: 0.6005 MB / 0.6675 GB, free: 170.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/1.139, allocations: 38.14 kB / 0.6675 GB, free: 170.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.14, allocations: 134.6 kB / 0.6677 GB, free: 170.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/1.14, allocations: 128.8 kB / 0.6678 GB, free: 170.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.141, allocations: 54 kB / 0.6678 GB, free: 170.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00365/1.144, allocations: 2.198 MB / 0.67 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/1.144, allocations: 1.75 kB / 0.67 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006621/1.151, allocations: 2.06 MB / 0.672 GB, free: 168.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.006417/1.157, allocations: 5.344 MB / 0.6772 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006761/1.164, allocations: 4.517 MB / 0.6816 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.164, allocations: 4 kB / 0.6816 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/1.166, allocations: 1.479 MB / 0.6831 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.17, allocations: 0.6814 MB / 0.6837 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06529/1.235, allocations: 42.84 MB / 0.7256 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008081/1.243, allocations: 5.8 MB / 0.7312 GB, free: 111.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003805/1.247, allocations: 1.828 MB / 0.733 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003768/1.251, allocations: 2.862 MB / 0.7358 GB, free: 106.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.744e-06/1.251, allocations: 0 / 0.7358 GB, free: 106.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/1.426, allocations: 92.17 MB / 0.8258 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/18.08, allocations: 15.81 kB / 0.8258 GB, free: 14.19 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.86256172400317]