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.001183/0.001183, allocations: 108.8 kB / 17.73 MB, free: 5.34 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.001394/0.001394, allocations: 190.9 kB / 18.67 MB, free: 4.41 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.327/1.327, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001117/0.001117, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08295/0.08408, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.225/0.3091, allocations: 5.945 MB / 380.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.3121, allocations: 1.687 MB / 382.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.3125, allocations: 40.88 kB / 382.3 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.3131, allocations: 317.2 kB / 382.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009497/0.314, allocations: 372.8 kB / 383 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.3146, allocations: 355.6 kB / 383.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.3166, allocations: 2.016 MB / 385.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.3192, allocations: 2.699 MB / 388.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.3206, allocations: 1.038 MB / 389.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3222, allocations: 1.199 MB / 390.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004844/0.3227, allocations: 314.4 kB / 390.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.3235, allocations: 481.5 kB / 391.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.3241, allocations: 0.7295 MB / 391.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.3252, allocations: 1.257 MB / 393.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.3293, allocations: 3.804 MB / 396.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3293, allocations: 4 kB / 396.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3293, allocations: 0 / 396.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.27e-05/0.3294, allocations: 0 / 396.9 MB, free: 2.98 MB / 318.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.006228/0.3357, allocations: 2.514 MB / 399.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.3357, allocations: 9.625 kB / 399.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005024/0.3363, allocations: 326.1 kB / 399.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/0.3372, allocations: 253.1 kB / 400 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.3399, allocations: 1.186 MB / 401.1 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.3401, allocations: 168.3 kB / 401.3 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.3406, allocations: 221.6 kB / 401.5 MB, free: 16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006912/0.3475, allocations: 2.541 MB / 404.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.3476, allocations: 0 / 404.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.3478, allocations: 91.38 kB / 404.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.75e-05/0.3479, allocations: 59.55 kB / 404.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003851/0.3518, allocations: 2.14 MB / 406.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.3652, allocations: 7.502 MB / 413.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3666, allocations: 1.257 MB / 415.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3677, allocations: 0.6354 MB / 415.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.3677, allocations: 11.69 kB / 415.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3678, allocations: 35.12 kB / 415.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.856e-06/0.3678, allocations: 0 / 415.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004456/0.3722, allocations: 2.469 MB / 418.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3723, allocations: 60.91 kB / 418.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3734, allocations: 0.7933 MB / 419.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.3735, allocations: 37.7 kB / 419.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/0.3741, allocations: 0.9391 MB / 420.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3742, allocations: 245.7 kB / 420.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.3745, allocations: 146.6 kB / 420.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3747, allocations: 394.7 kB / 420.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/0.3752, allocations: 365.8 kB / 421.2 MB, free: 404 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.376, allocations: 0.579 MB / 421.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.3773, allocations: 0.9893 MB / 422.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3773, allocations: 7.938 kB / 422.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001776/0.3791, allocations: 1.159 MB / 424 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3791, allocations: 11.94 kB / 424 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.3792, allocations: 8 kB / 424 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.3795, allocations: 104.8 kB / 424.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.3801, allocations: 171.7 kB / 424.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.3824, allocations: 2.336 MB / 426.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.3829, allocations: 39.97 kB / 426.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.383, allocations: 28 kB / 426.6 MB, free: 10.62 MB / 350.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.001012/0.384, allocations: 0.6496 MB / 427.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.3843, allocations: 95.36 kB / 427.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.3845, allocations: 103.6 kB / 427.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.3845, allocations: 8 kB / 427.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3845, allocations: 0 / 427.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3846, allocations: 3.984 kB / 427.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.3892, allocations: 2.666 MB / 430.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3892, allocations: 4.062 kB / 430.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.3897, allocations: 107.9 kB / 430.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.39, allocations: 96.91 kB / 430.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.39, allocations: 23.94 kB / 430.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.3923, allocations: 2.271 MB / 432.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3923, allocations: 0 / 432.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.3945, allocations: 1.424 MB / 434.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.395, allocations: 224.6 kB / 434.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.3952, allocations: 20.06 kB / 434.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.3958, allocations: 43.89 kB / 434.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.3959, allocations: 52.42 kB / 434.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.396, allocations: 16 kB / 434.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009463/0.3969, allocations: 0.5576 MB / 435 MB, free: 2.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3969, allocations: 0 / 435 MB, free: 2.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001456/0.3984, allocations: 303.9 kB / 435.3 MB, free: 1.707 MB / 350.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.002631/0.401, allocations: 1.999 MB / 437.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.4029, allocations: 1.014 MB / 438.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.403, allocations: 0.625 kB / 438.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009148/0.4039, allocations: 0.5717 MB / 438.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.4052, allocations: 227.4 kB / 439.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.4245, allocations: 10.14 MB / 449.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.4265, allocations: 1.724 MB / 451 MB, free: 1.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.4271, allocations: 195.1 kB / 451.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/0.428, allocations: 0.6438 MB / 451.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.428, allocations: 0 / 451.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/0.4822, allocations: 24.21 MB / 476 MB, free: 8.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.05, allocations: 23.88 kB / 476 MB, free: 8.434 MB / 398.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