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.001573/0.001573, allocations: 112 kB / 17.07 MB, free: 5.992 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.001718/0.001718, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009598/0.0009599, allocations: 51.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2748, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006949/0.2818, allocations: 6.01 MB / 406.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.285, allocations: 1.639 MB / 407.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.2858, allocations: 47.81 kB / 407.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.2866, allocations: 313.5 kB / 408.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.288, allocations: 381.5 kB / 408.6 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.2888, allocations: 347.5 kB / 408.9 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.2908, allocations: 2.017 MB / 411 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.2936, allocations: 2.723 MB / 413.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.2948, allocations: 1.048 MB / 414.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.2962, allocations: 1.199 MB / 415.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005497/0.2968, allocations: 308 kB / 416.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.2975, allocations: 483.6 kB / 416.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.2981, allocations: 0.7286 MB / 417.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.2994, allocations: 1.268 MB / 418.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.303, allocations: 3.806 MB / 422.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.303, allocations: 0 / 422.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.303, allocations: 4 kB / 422.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-05/0.3031, allocations: 0 / 422.5 MB, free: 2.387 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.004572/0.3077, allocations: 2.512 MB / 425 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.3077, allocations: 8.031 kB / 425 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003643/0.3081, allocations: 332.8 kB / 425.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.3087, allocations: 251.4 kB / 425.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.3109, allocations: 1.322 MB / 426.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.311, allocations: 170.4 kB / 427.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.3113, allocations: 216 kB / 427.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/0.3152, allocations: 2.538 MB / 429.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.3153, allocations: 0 / 429.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.3155, allocations: 95.94 kB / 429.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/0.3155, allocations: 59.94 kB / 430 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.3188, allocations: 2.145 MB / 432.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.3297, allocations: 7.509 MB / 439.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3309, allocations: 1.26 MB / 440.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.3319, allocations: 0.6413 MB / 441.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.332, allocations: 4.562 kB / 441.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.332, allocations: 43.12 kB / 441.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.176e-06/0.332, allocations: 0 / 441.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004526/0.3366, allocations: 2.446 MB / 444 MB, free: 12.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3366, allocations: 55.97 kB / 444.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3379, allocations: 0.801 MB / 444.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.3379, allocations: 37.7 kB / 444.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/0.3386, allocations: 0.9479 MB / 445.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.3388, allocations: 234 kB / 446.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.339, allocations: 146.6 kB / 446.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3392, allocations: 394.8 kB / 446.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.3398, allocations: 369.8 kB / 447 MB, free: 9.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.3405, allocations: 0.5756 MB / 447.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.3418, allocations: 0.9893 MB / 448.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3418, allocations: 4 kB / 448.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001936/0.3437, allocations: 1.147 MB / 449.7 MB, free: 6.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.3438, allocations: 8.656 kB / 449.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.3438, allocations: 8 kB / 449.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.3441, allocations: 116.7 kB / 449.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.3448, allocations: 171.7 kB / 450 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.3472, allocations: 2.341 MB / 452.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.3477, allocations: 44.03 kB / 452.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.3478, allocations: 32 kB / 452.4 MB, free: 3.469 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.001022/0.3489, allocations: 0.6457 MB / 453.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.3491, allocations: 83.48 kB / 453.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.3493, allocations: 103.5 kB / 453.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.3493, allocations: 8 kB / 453.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.3493, allocations: 3.938 kB / 453.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3493, allocations: 7.984 kB / 453.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.3541, allocations: 2.651 MB / 455.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.3541, allocations: 0 / 455.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.3546, allocations: 107.9 kB / 456 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.3549, allocations: 105 kB / 456.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.3549, allocations: 16 kB / 456.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.357, allocations: 2.263 MB / 458.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.357, allocations: 4.031 kB / 458.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.3592, allocations: 1.428 MB / 459.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.3597, allocations: 224.6 kB / 460.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.3598, allocations: 12.28 kB / 460.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.3603, allocations: 39.95 kB / 460.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.3604, allocations: 56.42 kB / 460.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.3605, allocations: 19.94 kB / 460.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008135/0.3613, allocations: 0.5654 MB / 460.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3613, allocations: 0 / 460.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001227/0.3626, allocations: 303.9 kB / 461.1 MB, free: 10.55 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.002581/0.3651, allocations: 2.007 MB / 463.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.3669, allocations: 0.9993 MB / 464.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.3669, allocations: 4 kB / 464.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008875/0.3678, allocations: 0.5639 MB / 464.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.3691, allocations: 227.2 kB / 464.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.3856, allocations: 10.13 MB / 475 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.3875, allocations: 1.728 MB / 476.7 MB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005662/0.3881, allocations: 199.1 kB / 476.9 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.3889, allocations: 0.6477 MB / 477.5 MB, free: 9.578 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3889, allocations: 0 / 477.5 MB, free: 9.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/0.4472, allocations: 24.22 MB / 0.49 GB, free: 1.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.26, allocations: 3.938 kB / 0.49 GB, free: 1.617 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