Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001348, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 65.23 kB / 307 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0842/0.0854, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1643/0.2497, allocations: 16.49 MB / 374.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007164/0.2569, allocations: 4.145 MB / 378.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.2593, allocations: 139.2 kB / 378.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01327/0.2727, allocations: 7.447 MB / 385.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.2771, allocations: 1.305 MB / 387.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.28, allocations: 1.245 MB / 388.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007847/0.2879, allocations: 8.179 MB / 396.5 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03235/0.3203, allocations: 22.62 MB / 419.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006521/0.3268, allocations: 4.801 MB / 424 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007858/0.3347, allocations: 5.334 MB / 429.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002447/0.3372, allocations: 1.383 MB / 430.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.3414, allocations: 1.66 MB / 432.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002274/0.3437, allocations: 2.58 MB / 434.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005847/0.3495, allocations: 5.218 MB / 440.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.3645, allocations: 18.2 MB / 458.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3645, allocations: 0 / 458.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3645, allocations: 0 / 458.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.3648, allocations: 0 / 458.3 MB, free: 6.957 MB / 366.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.02495/0.3898, allocations: 10.44 MB / 468.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3898, allocations: 8.031 kB / 468.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002663/0.3925, allocations: 1.294 MB / 470.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/0.4119, allocations: 3.744 MB / 473.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008966/0.4209, allocations: 5.179 MB / 479 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005315/0.4215, allocations: 0.6785 MB / 479.7 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002193/0.4237, allocations: 0.8944 MB / 480.6 MB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/0.4496, allocations: 12.71 MB / 493.3 MB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/0.4498, allocations: 7.906 kB / 493.3 MB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/0.4514, allocations: 384 kB / 493.7 MB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003332/0.4517, allocations: 399.1 kB / 494.1 MB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/0.4728, allocations: 11.4 MB / 0.4936 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.339/0.8119, allocations: 44.16 MB / 0.5368 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008985/0.8209, allocations: 10.49 MB / 0.547 GB, free: 106 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.8231, allocations: 1.682 MB / 0.5486 GB, free: 106 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.8233, allocations: 223.2 kB / 0.5489 GB, free: 105.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.8234, allocations: 56.59 kB / 0.5489 GB, free: 105.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.037e-06/0.8234, allocations: 0 / 0.5489 GB, free: 105.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007952/0.8313, allocations: 4.656 MB / 0.5535 GB, free: 105.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.8314, allocations: 79.22 kB / 0.5535 GB, free: 105.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.8357, allocations: 2.927 MB / 0.5564 GB, free: 105.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.8359, allocations: 59.8 kB / 0.5564 GB, free: 105.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.8373, allocations: 3.833 MB / 0.5602 GB, free: 103 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/0.8378, allocations: 0.7942 MB / 0.561 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.8389, allocations: 0.9468 MB / 0.5619 GB, free: 102.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.066e-05/0.8389, allocations: 301.1 kB / 0.5622 GB, free: 102.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.841, allocations: 1.974 MB / 0.5641 GB, free: 102.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.8438, allocations: 4.158 MB / 0.5682 GB, free: 99.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/0.8491, allocations: 6.504 MB / 0.5745 GB, free: 94.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.573e-05/0.8492, allocations: 23.38 kB / 0.5745 GB, free: 94.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007668/0.8568, allocations: 6.504 MB / 0.5809 GB, free: 91.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.8569, allocations: 33.94 kB / 0.5809 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-05/0.857, allocations: 75.31 kB / 0.581 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007303/0.8577, allocations: 417.5 kB / 0.5814 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/0.8606, allocations: 1.062 MB / 0.5824 GB, free: 91.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.8644, allocations: 4.387 MB / 0.5867 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.8671, allocations: 0.6178 MB / 0.5873 GB, free: 88.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.8674, allocations: 249.2 kB / 0.5876 GB, free: 88.23 MB / 446.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.003715/0.8711, allocations: 3.371 MB / 0.5908 GB, free: 86.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/0.8716, allocations: 276.8 kB / 0.5911 GB, free: 86.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.8762, allocations: 3.578 MB / 0.5946 GB, free: 84.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003198/0.8794, allocations: 2.809 MB / 0.5974 GB, free: 82.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8794, allocations: 3.719 kB / 0.5974 GB, free: 82.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.8795, allocations: 15.89 kB / 0.5974 GB, free: 82.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.892, allocations: 9.926 MB / 0.6071 GB, free: 73.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.8921, allocations: 0 / 0.6071 GB, free: 73.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.8936, allocations: 419.4 kB / 0.6075 GB, free: 73.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006077/0.8942, allocations: 317.1 kB / 0.6078 GB, free: 72.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.8943, allocations: 48.55 kB / 0.6078 GB, free: 72.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/0.8979, allocations: 4.19 MB / 0.6119 GB, free: 68.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.898, allocations: 1.016 kB / 0.6119 GB, free: 68.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/0.9035, allocations: 5.127 MB / 0.6169 GB, free: 63.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009851/0.9045, allocations: 0.6063 MB / 0.6175 GB, free: 62.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/0.9049, allocations: 40 kB / 0.6175 GB, free: 62.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.906, allocations: 135.8 kB / 0.6177 GB, free: 62.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.9062, allocations: 149.8 kB / 0.6178 GB, free: 62.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9063, allocations: 67.98 kB / 0.6179 GB, free: 62.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002085/0.9084, allocations: 1.963 MB / 0.6198 GB, free: 60.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9084, allocations: 0 / 0.6198 GB, free: 60.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00415/0.9126, allocations: 1.957 MB / 0.6217 GB, free: 58.41 MB / 446.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.005783/0.9184, allocations: 5.775 MB / 0.6273 GB, free: 52.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.9288, allocations: 6.974 MB / 0.6342 GB, free: 45.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.9288, allocations: 3.5 kB / 0.6342 GB, free: 45.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.9307, allocations: 1.738 MB / 0.6359 GB, free: 43.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/0.9336, allocations: 0.6795 MB / 0.6365 GB, free: 43.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04528/0.9789, allocations: 43.26 MB / 0.6788 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005376/0.9843, allocations: 5.649 MB / 0.6843 GB, free: 6.219 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004037/0.9883, allocations: 1.698 MB / 0.6859 GB, free: 4.516 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003629/0.992, allocations: 2.725 MB / 0.6886 GB, free: 1.789 MB / 462.1 MB Notification: Performance of SimCode: time 1.392e-06/0.992, allocations: 0 / 0.6886 GB, free: 1.789 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.292/1.284, allocations: 90.26 MB / 0.7768 GB, free: 107.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.41, allocations: 6.188 kB / 0.7768 GB, free: 107.1 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches