Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_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.0014/0.0014, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001619/0.001619, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.435/1.435, 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.001254/0.001254, allocations: 51.94 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09272, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2251/0.3179, allocations: 16.85 MB / 391.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.327, allocations: 4.239 MB / 395.7 MB, free: 432 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003754/0.3308, allocations: 114.7 kB / 395.9 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01746/0.3483, allocations: 7.464 MB / 403.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008976/0.3573, allocations: 1.541 MB / 404.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.3616, allocations: 1.213 MB / 406.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.3728, allocations: 8.573 MB / 414.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03783/0.4107, allocations: 22.58 MB / 437.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009534/0.4202, allocations: 4.953 MB / 442.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009637/0.4299, allocations: 5.532 MB / 447.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004003/0.434, allocations: 1.402 MB / 449.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.4403, allocations: 1.668 MB / 450.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004616/0.4449, allocations: 2.704 MB / 453.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01087/0.4558, allocations: 5.378 MB / 458.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02122/0.4771, allocations: 18.54 MB / 477.4 MB, free: 8.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4771, allocations: 0 / 477.4 MB, free: 8.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4771, allocations: 4 kB / 477.4 MB, free: 8.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005547/0.4777, allocations: 0 / 477.4 MB, free: 8.957 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03399/0.5117, allocations: 10.79 MB / 488.2 MB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.5118, allocations: 8.031 kB / 488.2 MB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004741/0.5165, allocations: 1.348 MB / 489.5 MB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03027/0.5468, allocations: 5.698 MB / 495.2 MB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.5587, allocations: 4.853 MB / 0.4884 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/0.5594, allocations: 0.7065 MB / 0.4891 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003723/0.5632, allocations: 0.914 MB / 0.49 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/0.5931, allocations: 13.59 MB / 0.5032 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/0.5934, allocations: 11.89 kB / 0.5032 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001761/0.5951, allocations: 396 kB / 0.5036 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000401/0.5955, allocations: 456 kB / 0.5041 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02511/0.6207, allocations: 12.82 MB / 0.5166 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4277/1.048, allocations: 46.34 MB / 0.5618 GB, free: 119.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/1.062, allocations: 17.09 MB / 0.5785 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/1.064, allocations: 1.87 MB / 0.5803 GB, free: 105.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009684/1.074, allocations: 5.96 MB / 0.5862 GB, free: 104.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.074, allocations: 50.53 kB / 0.5862 GB, free: 104.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.957e-06/1.074, allocations: 3.531 kB / 0.5862 GB, free: 104.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007351/1.082, allocations: 4.314 MB / 0.5904 GB, free: 104 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.082, allocations: 72.47 kB / 0.5905 GB, free: 103.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/1.086, allocations: 3.321 MB / 0.5937 GB, free: 102.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/1.086, allocations: 63.39 kB / 0.5938 GB, free: 102.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/1.089, allocations: 4.183 MB / 0.5979 GB, free: 99.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005579/1.089, allocations: 0.6886 MB / 0.5986 GB, free: 99.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/1.09, allocations: 1.061 MB / 0.5996 GB, free: 98.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/1.09, allocations: 305.1 kB / 0.5999 GB, free: 98.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.093, allocations: 2.048 MB / 0.6019 GB, free: 97.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/1.096, allocations: 4.685 MB / 0.6065 GB, free: 93.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006064/1.102, allocations: 7.094 MB / 0.6134 GB, free: 87.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.097e-05/1.102, allocations: 26 kB / 0.6134 GB, free: 87.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008997/1.111, allocations: 7.011 MB / 0.6203 GB, free: 84.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/1.111, allocations: 47.31 kB / 0.6203 GB, free: 84.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/1.111, allocations: 90.59 kB / 0.6204 GB, free: 84.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008275/1.112, allocations: 432.7 kB / 0.6208 GB, free: 84.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/1.115, allocations: 1.177 MB / 0.622 GB, free: 84.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/1.119, allocations: 4.38 MB / 0.6262 GB, free: 80.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/1.123, allocations: 0.7234 MB / 0.6269 GB, free: 80.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004256/1.124, allocations: 285.2 kB / 0.6272 GB, free: 80.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.004936/1.129, allocations: 3.491 MB / 0.6306 GB, free: 78.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/1.129, allocations: 285.3 kB / 0.6309 GB, free: 78.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/1.134, allocations: 3.31 MB / 0.6341 GB, free: 74.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002871/1.136, allocations: 2.546 MB / 0.6366 GB, free: 72.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.136, allocations: 4 kB / 0.6366 GB, free: 72.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/1.136, allocations: 9.781 kB / 0.6366 GB, free: 72.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.15, allocations: 9.291 MB / 0.6457 GB, free: 63.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.15, allocations: 8.094 kB / 0.6457 GB, free: 63.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.151, allocations: 359.4 kB / 0.646 GB, free: 62.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005969/1.152, allocations: 308.6 kB / 0.6463 GB, free: 62.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.152, allocations: 47.98 kB / 0.6464 GB, free: 62.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/1.156, allocations: 4.192 MB / 0.6505 GB, free: 58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.156, allocations: 0 / 0.6505 GB, free: 58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005346/1.161, allocations: 4.71 MB / 0.6551 GB, free: 53.26 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.162, allocations: 0.583 MB / 0.6556 GB, free: 52.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/1.163, allocations: 35.98 kB / 0.6557 GB, free: 52.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.164, allocations: 123.8 kB / 0.6558 GB, free: 52.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/1.164, allocations: 137.7 kB / 0.6559 GB, free: 52.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.164, allocations: 55.98 kB / 0.656 GB, free: 52.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002601/1.167, allocations: 2.199 MB / 0.6581 GB, free: 50.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.167, allocations: 0 / 0.6581 GB, free: 50.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005651/1.173, allocations: 2.034 MB / 0.6601 GB, free: 48.07 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.005717/1.178, allocations: 5.35 MB / 0.6653 GB, free: 42.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006265/1.185, allocations: 4.718 MB / 0.6699 GB, free: 37.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.185, allocations: 4.75 kB / 0.67 GB, free: 37.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.186, allocations: 1.599 MB / 0.6715 GB, free: 36.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/1.189, allocations: 0.6761 MB / 0.6722 GB, free: 35.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05512/1.245, allocations: 42.61 MB / 0.7138 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006726/1.251, allocations: 5.792 MB / 0.7194 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004317/1.256, allocations: 1.828 MB / 0.7212 GB, free: 14.24 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003753/1.259, allocations: 2.854 MB / 0.724 GB, free: 11.38 MB / 0.4982 GB Notification: Performance of SimCode: time 7.62e-07/1.259, allocations: 3.938 kB / 0.724 GB, free: 11.38 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3322/1.592, allocations: 91.51 MB / 0.8134 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/17.16, allocations: 10.88 kB / 0.8134 GB, free: 140.4 MB / 0.5138 GB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches