Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 104.8 kB / 17.58 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 184.2 kB / 18.5 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 51.92 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08251/0.0838, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006715/0.09055, allocations: 5.969 MB / 333.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.09317, allocations: 1.671 MB / 335 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.09356, allocations: 39.81 kB / 335.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.09412, allocations: 301.5 kB / 335.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008785/0.095, allocations: 369.5 kB / 335.7 MB, free: 12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.09559, allocations: 355.6 kB / 336.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.09732, allocations: 2.005 MB / 338.1 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.1, allocations: 2.699 MB / 340.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.101, allocations: 1.032 MB / 341.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.1024, allocations: 1.206 MB / 343 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003709/0.1028, allocations: 308 kB / 343.3 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.1035, allocations: 479.6 kB / 343.8 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005883/0.1041, allocations: 0.7247 MB / 344.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.1053, allocations: 1.264 MB / 345.8 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003/0.1083, allocations: 3.743 MB / 349.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1083, allocations: 0 / 349.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1083, allocations: 7.938 kB / 349.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.545e-05/0.1084, allocations: 0 / 349.5 MB, free: 14.1 MB / 302.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.004181/0.1126, allocations: 2.458 MB / 352 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1126, allocations: 8.031 kB / 352 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003343/0.113, allocations: 328.9 kB / 352.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.1135, allocations: 246.1 kB / 352.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.1151, allocations: 1.17 MB / 353.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1152, allocations: 168.9 kB / 353.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/0.1155, allocations: 219.9 kB / 354.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.1192, allocations: 2.538 MB / 356.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.1193, allocations: 0 / 356.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.1195, allocations: 92 kB / 356.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-05/0.1195, allocations: 59.98 kB / 356.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.1229, allocations: 2.137 MB / 358.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.1336, allocations: 7.608 MB / 366.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1348, allocations: 1.255 MB / 367.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000965/0.1357, allocations: 0.618 MB / 368.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.1358, allocations: 12.53 kB / 368.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1358, allocations: 39.12 kB / 368.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.715e-06/0.1358, allocations: 0 / 368.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.003762/0.1396, allocations: 2.435 MB / 370.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1396, allocations: 63.91 kB / 370.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.1406, allocations: 0.7933 MB / 371.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.1406, allocations: 33.7 kB / 371.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.1412, allocations: 0.9177 MB / 372.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.1413, allocations: 228.8 kB / 372.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.1416, allocations: 150.5 kB / 373.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1417, allocations: 386.8 kB / 373.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.1423, allocations: 369.7 kB / 373.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.143, allocations: 0.5829 MB / 374.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.1443, allocations: 0.9893 MB / 375.4 MB, free: 3.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1443, allocations: 0 / 375.4 MB, free: 3.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001667/0.146, allocations: 1.155 MB / 376.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.146, allocations: 8 kB / 376.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.146, allocations: 4 kB / 376.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.1463, allocations: 116.9 kB / 376.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.1469, allocations: 175.7 kB / 376.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1424/0.2893, allocations: 2.316 MB / 379.1 MB, free: 49.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006449/0.29, allocations: 39.8 kB / 379.2 MB, free: 49.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.2901, allocations: 37 kB / 379.2 MB, free: 49.93 MB / 318.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.0008676/0.291, allocations: 0.6525 MB / 379.9 MB, free: 49.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.2911, allocations: 82.28 kB / 379.9 MB, free: 49.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.2913, allocations: 99.17 kB / 380 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.2913, allocations: 9.875 kB / 380 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.2914, allocations: 5.594 kB / 380 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2914, allocations: 6.953 kB / 380.1 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.2952, allocations: 2.663 MB / 382.7 MB, free: 49.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2952, allocations: 2.781 kB / 382.7 MB, free: 49.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.2957, allocations: 107.3 kB / 382.8 MB, free: 49.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.2959, allocations: 104.3 kB / 382.9 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.2959, allocations: 15.81 kB / 382.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.2976, allocations: 2.264 MB / 385.2 MB, free: 47.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.2976, allocations: 5.906 kB / 385.2 MB, free: 47.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.2994, allocations: 1.423 MB / 386.6 MB, free: 46.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.2997, allocations: 224.1 kB / 386.9 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.2998, allocations: 14.86 kB / 386.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.3002, allocations: 53.17 kB / 386.9 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3003, allocations: 51.84 kB / 387 MB, free: 46.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.3004, allocations: 20.08 kB / 387 MB, free: 46.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006358/0.301, allocations: 0.5542 MB / 387.5 MB, free: 46.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 1.125 kB / 387.5 MB, free: 46.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009442/0.302, allocations: 297.6 kB / 387.8 MB, free: 46.23 MB / 318.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.002061/0.304, allocations: 1.996 MB / 389.8 MB, free: 45.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.3058, allocations: 1.146 MB / 391 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3058, allocations: 0 / 391 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.3066, allocations: 0.5656 MB / 391.5 MB, free: 44.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.3076, allocations: 217.2 kB / 391.8 MB, free: 44.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.3184, allocations: 10.52 MB / 402.3 MB, free: 38.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/0.3193, allocations: 1.728 MB / 404 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005375/0.3199, allocations: 211.6 kB / 404.2 MB, free: 36.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.3204, allocations: 0.636 MB / 404.8 MB, free: 36.25 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3205, allocations: 0 / 404.8 MB, free: 36.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.3609, allocations: 23.54 MB / 428.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.19/9.551, allocations: 3.906 kB / 428.4 MB, free: 12.62 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.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_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches