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.001318/0.001318, allocations: 108 kB / 17.06 MB, free: 5.82 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.001229/0.001229, allocations: 195.9 kB / 18 MB, free: 4.965 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007963/0.2795, allocations: 6 MB / 406.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.2831, allocations: 1.643 MB / 407.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008085/0.284, allocations: 47.81 kB / 407.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.2848, allocations: 305.5 kB / 408.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.2862, allocations: 373.5 kB / 408.6 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000783/0.287, allocations: 351.5 kB / 408.9 MB, free: 92 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.2894, allocations: 2.009 MB / 410.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.2927, allocations: 2.735 MB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.2942, allocations: 1.036 MB / 414.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.296, allocations: 1.21 MB / 415.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.2965, allocations: 308 kB / 416.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009051/0.2974, allocations: 479.7 kB / 416.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007347/0.2981, allocations: 0.7325 MB / 417.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.2997, allocations: 1.256 MB / 418.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004291/0.304, allocations: 3.814 MB / 422.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.304, allocations: 4 kB / 422.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.304, allocations: 3.938 kB / 422.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.03e-05/0.3041, allocations: 4 kB / 422.5 MB, free: 2.418 MB / 334.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.00503/0.3092, allocations: 2.502 MB / 425 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3092, allocations: 12.03 kB / 425 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000416/0.3096, allocations: 324.9 kB / 425.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.3102, allocations: 255.4 kB / 425.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.3124, allocations: 1.314 MB / 426.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3125, allocations: 164.9 kB / 427.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/0.3129, allocations: 223.9 kB / 427.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/0.3176, allocations: 2.542 MB / 429.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.3177, allocations: 0 / 429.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.3179, allocations: 92 kB / 429.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/0.318, allocations: 56 kB / 430 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.3218, allocations: 2.137 MB / 432.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.3339, allocations: 7.521 MB / 439.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.3354, allocations: 1.261 MB / 440.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.3365, allocations: 0.6296 MB / 441.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.3366, allocations: 4.562 kB / 441.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3366, allocations: 47.11 kB / 441.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.216e-06/0.3366, allocations: 0 / 441.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004468/0.3411, allocations: 2.458 MB / 444 MB, free: 12.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3412, allocations: 59.97 kB / 444.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3423, allocations: 0.7894 MB / 444.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.3423, allocations: 37.7 kB / 444.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006901/0.343, allocations: 0.9479 MB / 445.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.3433, allocations: 242 kB / 446.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.3435, allocations: 142.6 kB / 446.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.3437, allocations: 390.7 kB / 446.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.3443, allocations: 373.7 kB / 447 MB, free: 9.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.3451, allocations: 0.5717 MB / 447.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.3466, allocations: 0.9854 MB / 448.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.3466, allocations: 4 kB / 448.5 MB, free: 7.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001984/0.3486, allocations: 1.167 MB / 449.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3486, allocations: 8 kB / 449.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3486, allocations: 11.94 kB / 449.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.3489, allocations: 113.2 kB / 449.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.3496, allocations: 171.7 kB / 450 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.3523, allocations: 2.329 MB / 452.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.3529, allocations: 35.97 kB / 452.4 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.353, allocations: 32.06 kB / 452.4 MB, free: 3.52 MB / 366.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.001099/0.3541, allocations: 0.6513 MB / 453.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.3542, allocations: 91.38 kB / 453.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.3545, allocations: 99.55 kB / 453.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.3545, allocations: 8 kB / 453.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3545, allocations: 4 kB / 453.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.3545, allocations: 3.984 kB / 453.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.3589, allocations: 2.655 MB / 455.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3589, allocations: 4 kB / 455.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.3594, allocations: 111.8 kB / 456 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.3597, allocations: 96.94 kB / 456.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.3597, allocations: 19.94 kB / 456.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.362, allocations: 2.259 MB / 458.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.362, allocations: 4.031 kB / 458.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.3642, allocations: 1.421 MB / 459.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.3646, allocations: 232.6 kB / 460 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.627e-05/0.3647, allocations: 15.94 kB / 460.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.3652, allocations: 43.95 kB / 460.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3653, allocations: 48.44 kB / 460.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.3654, allocations: 23.98 kB / 460.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007596/0.3661, allocations: 0.5536 MB / 460.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3661, allocations: 4 kB / 460.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001047/0.3672, allocations: 299.9 kB / 461 MB, free: 10.61 MB / 382.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.002692/0.3699, allocations: 2.015 MB / 463 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.3717, allocations: 0.9993 MB / 464 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3717, allocations: 4.188 kB / 464 MB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000937/0.3727, allocations: 0.5678 MB / 464.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.3739, allocations: 227.2 kB / 464.8 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.3898, allocations: 10.13 MB / 475 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.3915, allocations: 1.717 MB / 476.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006597/0.3922, allocations: 207.1 kB / 476.9 MB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000946/0.3931, allocations: 0.6398 MB / 477.5 MB, free: 9.625 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3931, allocations: 0 / 477.5 MB, free: 9.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06417/0.4573, allocations: 24.22 MB / 0.49 GB, free: 1.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.44, allocations: 11.98 kB / 0.49 GB, free: 1.656 MB / 414.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