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.001084/0.001084, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001108/0.001108, allocations: 192.2 kB / 18.66 MB, free: 4.418 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.308/1.308, 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.001317/0.001317, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08555, allocations: 46.62 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.181/0.2666, allocations: 5.956 MB / 380.6 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.2698, allocations: 1.684 MB / 382.3 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.2709, allocations: 40.44 kB / 382.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007362/0.2717, allocations: 302.4 kB / 382.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.2733, allocations: 363.5 kB / 383 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.2742, allocations: 356.7 kB / 383.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.2765, allocations: 2.023 MB / 385.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.2793, allocations: 2.69 MB / 388 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.2808, allocations: 1.04 MB / 389.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.2826, allocations: 1.201 MB / 390.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004728/0.2831, allocations: 310 kB / 390.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009262/0.284, allocations: 481.1 kB / 391.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.2846, allocations: 0.7249 MB / 391.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.2859, allocations: 1.261 MB / 393 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.2899, allocations: 3.795 MB / 396.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2899, allocations: 0.7031 kB / 396.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.2899, allocations: 0 / 396.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.176e-05/0.29, allocations: 3.938 kB / 396.8 MB, free: 2.992 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.004579/0.2946, allocations: 2.457 MB / 399.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2946, allocations: 13.56 kB / 399.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003547/0.295, allocations: 327.5 kB / 399.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.2955, allocations: 234.1 kB / 399.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.2973, allocations: 1.181 MB / 401 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.2974, allocations: 171.2 kB / 401.2 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.2977, allocations: 221.4 kB / 401.4 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/0.3021, allocations: 2.552 MB / 404 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.3022, allocations: 0 / 404 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.3024, allocations: 90.75 kB / 404.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.922e-05/0.3025, allocations: 55.31 kB / 404.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004132/0.3066, allocations: 2.133 MB / 406.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.319, allocations: 7.48 MB / 413.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3202, allocations: 1.25 MB / 415 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3213, allocations: 0.6316 MB / 415.6 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.3214, allocations: 8.562 kB / 415.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3214, allocations: 43.06 kB / 415.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 3.687e-06/0.3214, allocations: 0 / 415.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004285/0.3257, allocations: 2.438 MB / 418.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3257, allocations: 56.91 kB / 418.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/0.3267, allocations: 0.801 MB / 419 MB, free: 2.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.3268, allocations: 40.67 kB / 419 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.3273, allocations: 0.9098 MB / 419.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3275, allocations: 224.4 kB / 420.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3277, allocations: 146.6 kB / 420.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3279, allocations: 402.7 kB / 420.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.3286, allocations: 365.8 kB / 421 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/0.3293, allocations: 0.5828 MB / 421.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.3306, allocations: 0.9854 MB / 422.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3306, allocations: 7.938 kB / 422.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001768/0.3324, allocations: 1.151 MB / 423.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3324, allocations: 11.94 kB / 423.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.3325, allocations: 8 kB / 423.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.3328, allocations: 112.7 kB / 423.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.3334, allocations: 163.8 kB / 424 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.3357, allocations: 2.339 MB / 426.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.3363, allocations: 39.97 kB / 426.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.3364, allocations: 32 kB / 426.4 MB, free: 10.82 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.001048/0.3375, allocations: 0.6496 MB / 427.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.3376, allocations: 86.91 kB / 427.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.3379, allocations: 103.6 kB / 427.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.3379, allocations: 8 kB / 427.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3379, allocations: 4 kB / 427.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3379, allocations: 3.984 kB / 427.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.3427, allocations: 2.659 MB / 430 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3427, allocations: 0 / 430 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.3432, allocations: 107.8 kB / 430.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.3434, allocations: 104.9 kB / 430.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.3435, allocations: 19.94 kB / 430.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.3456, allocations: 2.273 MB / 432.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3457, allocations: 3.984 kB / 432.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.3478, allocations: 1.412 MB / 433.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.3483, allocations: 224.1 kB / 434.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.3484, allocations: 16 kB / 434.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.349, allocations: 51.89 kB / 434.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3491, allocations: 48.5 kB / 434.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.3491, allocations: 19.98 kB / 434.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000747/0.3499, allocations: 0.5536 MB / 434.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3499, allocations: 0 / 434.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001275/0.3512, allocations: 298.3 kB / 435.1 MB, free: 1.922 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.002422/0.3536, allocations: 2.007 MB / 437.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.3553, allocations: 1.011 MB / 438.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3553, allocations: 0.5 kB / 438.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008209/0.3561, allocations: 0.5601 MB / 438.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.3572, allocations: 218.2 kB / 438.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.3722, allocations: 10.09 MB / 449 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.3739, allocations: 1.724 MB / 450.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005505/0.3744, allocations: 195.1 kB / 450.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00075/0.3752, allocations: 0.6438 MB / 451.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3752, allocations: 4 kB / 451.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.423, allocations: 24.21 MB / 475.7 MB, free: 8.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.79, allocations: 19.92 kB / 475.7 MB, free: 8.715 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