Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_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.001522/0.001522, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001727/0.001727, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 38.19 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1346, allocations: 49.45 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008342/0.143, allocations: 5.988 MB / 356.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1462, allocations: 1.643 MB / 357.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008067/0.147, allocations: 47.81 kB / 357.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.1478, allocations: 301.5 kB / 358.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.1492, allocations: 369.5 kB / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.15, allocations: 347.6 kB / 358.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.1521, allocations: 1.997 MB / 360.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.1552, allocations: 2.747 MB / 363.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.1563, allocations: 1.04 MB / 364.6 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.1578, allocations: 1.195 MB / 365.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000521/0.1584, allocations: 308 kB / 366.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008542/0.1592, allocations: 483.6 kB / 366.6 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006829/0.1599, allocations: 0.7364 MB / 367.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.1614, allocations: 1.264 MB / 368.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1533/0.3147, allocations: 3.743 MB / 372.3 MB, free: 16.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3148, allocations: 4.156 kB / 372.3 MB, free: 16.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3148, allocations: 0 / 372.3 MB, free: 16.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.743e-05/0.3149, allocations: 0 / 372.3 MB, free: 16.33 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.004475/0.3193, allocations: 2.466 MB / 374.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3194, allocations: 9.531 kB / 374.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003838/0.3198, allocations: 330.1 kB / 375.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00057/0.3204, allocations: 241.7 kB / 375.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.3222, allocations: 1.26 MB / 376.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.3223, allocations: 166.5 kB / 376.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.3226, allocations: 221.6 kB / 377 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.3267, allocations: 2.546 MB / 379.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.3268, allocations: 3.438 kB / 379.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.327, allocations: 94.84 kB / 379.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.327, allocations: 55.56 kB / 379.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/0.3306, allocations: 2.141 MB / 381.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009647/0.3403, allocations: 7.586 MB / 389.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009292/0.3412, allocations: 1.262 MB / 390.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008886/0.3421, allocations: 0.6188 MB / 391.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.3422, allocations: 10.97 kB / 391.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3422, allocations: 42.09 kB / 391.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.836e-06/0.3422, allocations: 0 / 391.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003619/0.3458, allocations: 2.429 MB / 393.8 MB, free: 6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3459, allocations: 57.47 kB / 393.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/0.3467, allocations: 0.7993 MB / 394.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.3468, allocations: 36.2 kB / 394.7 MB, free: 5.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.3471, allocations: 0.9154 MB / 395.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3472, allocations: 224.1 kB / 395.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.3474, allocations: 153.6 kB / 396 MB, free: 4.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.3475, allocations: 391.5 kB / 396.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.348, allocations: 363.1 kB / 396.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.3485, allocations: 0.5874 MB / 397.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3495, allocations: 0.984 MB / 398.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3496, allocations: 3.875 kB / 398.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00144/0.351, allocations: 1.146 MB / 399.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.351, allocations: 12.53 kB / 399.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.351, allocations: 12.06 kB / 399.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.3513, allocations: 104.5 kB / 399.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.3519, allocations: 178.7 kB / 399.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.3536, allocations: 2.333 MB / 402.1 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.3541, allocations: 39.97 kB / 402.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.3542, allocations: 31.98 kB / 402.1 MB, free: 15.71 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.0009578/0.3552, allocations: 0.6527 MB / 402.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.3554, allocations: 86.91 kB / 402.9 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.3555, allocations: 99.56 kB / 403 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.3556, allocations: 14.7 kB / 403 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.3556, allocations: 0 / 403 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.3556, allocations: 0 / 403 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.3597, allocations: 2.664 MB / 405.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3597, allocations: 0 / 405.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.3602, allocations: 105.7 kB / 405.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.3604, allocations: 103.4 kB / 405.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.3605, allocations: 24.05 kB / 405.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.3626, allocations: 2.26 MB / 408.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3626, allocations: 4.031 kB / 408.1 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.3647, allocations: 1.415 MB / 409.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.365, allocations: 232 kB / 409.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/0.3651, allocations: 12 kB / 409.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.3655, allocations: 52.23 kB / 409.8 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.3657, allocations: 47.22 kB / 409.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.3657, allocations: 23.98 kB / 409.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006987/0.3664, allocations: 0.5575 MB / 410.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3664, allocations: 0 / 410.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3675, allocations: 296 kB / 410.8 MB, free: 6.883 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.002446/0.3699, allocations: 2.005 MB / 412.8 MB, free: 4.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.3719, allocations: 1.139 MB / 413.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3719, allocations: 1.688 kB / 413.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008379/0.3727, allocations: 0.558 MB / 414.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3738, allocations: 215.7 kB / 414.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.3873, allocations: 10.5 MB / 425.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.3887, allocations: 1.721 MB / 426.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005703/0.3893, allocations: 207.1 kB / 427.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007845/0.3901, allocations: 0.6463 MB / 427.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3901, allocations: 0 / 427.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/0.4421, allocations: 23.56 MB / 451.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.456/9.898, allocations: 7.266 kB / 451.3 MB, free: 14.25 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.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_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches