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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 99.59 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007221/0.0007221, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1882, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01313/0.2013, allocations: 16.56 MB / 390.4 MB, free: 32.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007199/0.2086, allocations: 4.2 MB / 394.6 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2102, allocations: 111.7 kB / 394.7 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.2205, allocations: 7.088 MB / 401.8 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.2243, allocations: 1.361 MB / 403.1 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.2263, allocations: 1.136 MB / 404.3 MB, free: 18.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005307/0.2316, allocations: 8.468 MB / 412.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02065/0.2522, allocations: 18.96 MB / 431.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.2578, allocations: 4.425 MB / 436.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006785/0.2646, allocations: 5.357 MB / 441.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.2662, allocations: 1.035 MB / 442.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.269, allocations: 1.285 MB / 443.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.2706, allocations: 2.314 MB / 446.1 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004586/0.2752, allocations: 4.983 MB / 451.1 MB, free: 3.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.2897, allocations: 18.17 MB / 469.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.2897, allocations: 0 / 469.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2897, allocations: 3.938 kB / 469.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004238/0.2902, allocations: 0 / 469.3 MB, free: 1.641 MB / 346.7 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.02667/0.3169, allocations: 10.81 MB / 480.1 MB, free: 6.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3169, allocations: 12.03 kB / 480.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/0.3437, allocations: 5.71 MB / 485.8 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.3542, allocations: 4.833 MB / 490.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006421/0.3549, allocations: 0.6986 MB / 491.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002933/0.3578, allocations: 0.9257 MB / 492.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3052/0.6631, allocations: 13.62 MB / 0.494 GB, free: 92.82 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000369/0.6635, allocations: 9.531 kB / 0.494 GB, free: 92.82 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001992/0.6655, allocations: 394.1 kB / 0.4944 GB, free: 92.52 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005801/0.6661, allocations: 455 kB / 0.4949 GB, free: 92.48 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02323/0.6894, allocations: 12.84 MB / 0.5074 GB, free: 86.96 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06516/0.7546, allocations: 46.92 MB / 0.5532 GB, free: 43.95 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.7659, allocations: 17.12 MB / 0.5699 GB, free: 24.49 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/0.7683, allocations: 1.9 MB / 0.5718 GB, free: 22.58 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009902/0.7782, allocations: 6.094 MB / 0.5777 GB, free: 16.45 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.7783, allocations: 64.48 kB / 0.5778 GB, free: 16.38 MB / 378.8 MB Notification: Performance of pre-optimization done (n=194): time 3.527e-06/0.7783, allocations: 3.938 kB / 0.5778 GB, free: 16.37 MB / 378.8 MB Notification: Performance of matching and sorting (n=194): time 0.006452/0.7847, allocations: 4.409 MB / 0.5821 GB, free: 11.94 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.7848, allocations: 73.41 kB / 0.5822 GB, free: 11.85 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004507/0.7893, allocations: 3.317 MB / 0.5854 GB, free: 8.516 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 9.502e-05/0.7894, allocations: 57.7 kB / 0.5855 GB, free: 8.453 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.7911, allocations: 4.182 MB / 0.5896 GB, free: 4.223 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.7915, allocations: 0.7132 MB / 0.5903 GB, free: 3.5 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.7928, allocations: 1.067 MB / 0.5913 GB, free: 2.422 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.7929, allocations: 301.1 kB / 0.5916 GB, free: 2.125 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.7952, allocations: 2.087 MB / 0.5936 GB, free: 32 kB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/0.7998, allocations: 4.727 MB / 0.5982 GB, free: 10.01 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007972/0.8078, allocations: 7.175 MB / 0.6052 GB, free: 1.547 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.234e-05/0.8079, allocations: 24 kB / 0.6053 GB, free: 1.523 MB / 394.8 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01074/0.8186, allocations: 7.085 MB / 0.6122 GB, free: 10.42 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.8187, allocations: 44 kB / 0.6122 GB, free: 10.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.8189, allocations: 92 kB / 0.6123 GB, free: 10.29 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009051/0.8198, allocations: 432.1 kB / 0.6127 GB, free: 9.867 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.8231, allocations: 1.178 MB / 0.6139 GB, free: 8.688 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/0.8277, allocations: 4.068 MB / 0.6179 GB, free: 4.484 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/0.8311, allocations: 0.7275 MB / 0.6186 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/0.8316, allocations: 291.9 kB / 0.6188 GB, free: 3.465 MB / 410.8 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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005056/0.8367, allocations: 3.486 MB / 0.6222 GB, free: 15.96 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/0.8373, allocations: 288.3 kB / 0.6225 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/0.8427, allocations: 3.395 MB / 0.6258 GB, free: 12.26 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00365/0.8464, allocations: 2.624 MB / 0.6284 GB, free: 9.629 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.8464, allocations: 8 kB / 0.6284 GB, free: 9.621 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.8465, allocations: 7.969 kB / 0.6284 GB, free: 9.613 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/0.866, allocations: 9.431 MB / 0.6376 GB, free: 104 kB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.8661, allocations: 0 / 0.6376 GB, free: 104 kB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.8676, allocations: 363.4 kB / 0.638 GB, free: 15.75 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007656/0.8684, allocations: 313.3 kB / 0.6383 GB, free: 15.44 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.8687, allocations: 47.98 kB / 0.6383 GB, free: 15.39 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.8731, allocations: 3.872 MB / 0.6421 GB, free: 11.38 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8732, allocations: 0 / 0.6421 GB, free: 11.38 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/0.887, allocations: 9.202 MB / 0.6511 GB, free: 2.004 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.8884, allocations: 0.5945 MB / 0.6517 GB, free: 1.387 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/0.8888, allocations: 43.92 kB / 0.6517 GB, free: 1.344 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.8901, allocations: 131.8 kB / 0.6518 GB, free: 1.215 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.8904, allocations: 125.8 kB / 0.652 GB, free: 1.09 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.8906, allocations: 64.08 kB / 0.652 GB, free: 1.027 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.1628/1.053, allocations: 2.189 MB / 0.6542 GB, free: 142.9 MB / 442.8 MB Notification: Performance of sort global known variables: time 5.71e-07/1.053, allocations: 0 / 0.6542 GB, free: 142.9 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006053/1.06, allocations: 2.202 MB / 0.6563 GB, free: 142.6 MB / 442.8 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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005138/1.06, allocations: 199.8 kB / 0.6565 GB, free: 142.6 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006892/1.067, allocations: 4.797 MB / 0.6612 GB, free: 141.6 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.067, allocations: 1.062 kB / 0.6612 GB, free: 141.6 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002054/1.069, allocations: 1.643 MB / 0.6628 GB, free: 140.9 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.072, allocations: 0.643 MB / 0.6634 GB, free: 140.7 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.093, allocations: 18.73 MB / 0.6817 GB, free: 130.3 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00516/1.099, allocations: 5.841 MB / 0.6874 GB, free: 128.1 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003932/1.103, allocations: 1.834 MB / 0.6892 GB, free: 127.2 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/1.103, allocations: 238.2 kB / 0.6894 GB, free: 126.9 MB / 442.8 MB Notification: Performance of SimCode: time 9.62e-07/1.103, allocations: 4.594 kB / 0.6894 GB, free: 126.9 MB / 442.8 MB Notification: Performance of Templates: time 0.05453/1.158, allocations: 42 MB / 0.7304 GB, free: 86.93 MB / 442.8 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches