Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009532/0.0009532, allocations: 92.14 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 4 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2613, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01504/0.2764, allocations: 14.31 MB / 426.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007192/0.2837, allocations: 5.455 MB / 431.8 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.2861, allocations: 123.7 kB / 432 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.2885, allocations: 1.011 MB / 433 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.2924, allocations: 1.452 MB / 434.4 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.295, allocations: 1.666 MB / 436.1 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008043/0.303, allocations: 7.886 MB / 444 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04915/0.3522, allocations: 27.81 MB / 471.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007257/0.3595, allocations: 3.398 MB / 475.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008573/0.3681, allocations: 3.874 MB / 479 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.3702, allocations: 0.543 MB / 479.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.3742, allocations: 0.8044 MB / 480.4 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00283/0.377, allocations: 1.518 MB / 481.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007973/0.385, allocations: 4.056 MB / 486 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02123/0.4063, allocations: 17.18 MB / 0.4914 GB, free: 12.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4064, allocations: 0 / 0.4914 GB, free: 12.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4064, allocations: 0 / 0.4914 GB, free: 12.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004906/0.4069, allocations: 0 / 0.4914 GB, free: 12.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02071/0.4276, allocations: 8.513 MB / 0.4997 GB, free: 3.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4276, allocations: 16.02 kB / 0.4997 GB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01883/0.4465, allocations: 3.764 MB / 0.5034 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2933/0.7399, allocations: 5.177 MB / 0.5084 GB, free: 76.32 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004558/0.7403, allocations: 0.677 MB / 0.5091 GB, free: 76.01 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/0.7423, allocations: 0.8853 MB / 0.5099 GB, free: 75.72 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/0.763, allocations: 12.67 MB / 0.5223 GB, free: 70.03 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.7632, allocations: 10.12 kB / 0.5223 GB, free: 70.02 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007135/0.7639, allocations: 374.2 kB / 0.5227 GB, free: 69.73 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.7641, allocations: 400 kB / 0.5231 GB, free: 69.68 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.7819, allocations: 11.36 MB / 0.5342 GB, free: 58.46 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05381/0.8358, allocations: 44.31 MB / 0.5774 GB, free: 13.11 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007942/0.8437, allocations: 10.52 MB / 0.5877 GB, free: 1.348 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.8459, allocations: 1.706 MB / 0.5894 GB, free: 15.65 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.8462, allocations: 225.7 kB / 0.5896 GB, free: 15.4 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.8462, allocations: 56.56 kB / 0.5896 GB, free: 15.34 MB / 394.8 MB Notification: Performance of pre-optimization done (n=229): time 4.589e-06/0.8462, allocations: 0 / 0.5896 GB, free: 15.34 MB / 394.8 MB Notification: Performance of matching and sorting (n=229): time 0.00858/0.8548, allocations: 4.77 MB / 0.5943 GB, free: 10.54 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.8549, allocations: 81.34 kB / 0.5944 GB, free: 10.45 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.8594, allocations: 2.899 MB / 0.5972 GB, free: 7.527 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.8595, allocations: 61.7 kB / 0.5973 GB, free: 7.461 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002185/0.8617, allocations: 3.828 MB / 0.601 GB, free: 3.609 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006564/0.8624, allocations: 0.8151 MB / 0.6018 GB, free: 2.801 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.8626, allocations: 92 kB / 0.6019 GB, free: 2.711 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0003135/0.863, allocations: 0.4923 MB / 0.6024 GB, free: 2.211 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.8659, allocations: 1.996 MB / 0.6043 GB, free: 212 kB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/0.87, allocations: 4.177 MB / 0.6084 GB, free: 10.96 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007509/0.8775, allocations: 6.561 MB / 0.6148 GB, free: 3.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/0.8776, allocations: 24 kB / 0.6148 GB, free: 3.297 MB / 410.8 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01005/0.8876, allocations: 6.539 MB / 0.6212 GB, free: 12.7 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.8877, allocations: 44.19 kB / 0.6213 GB, free: 12.66 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/0.8879, allocations: 72 kB / 0.6213 GB, free: 12.59 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009071/0.8888, allocations: 408.5 kB / 0.6217 GB, free: 12.19 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.892, allocations: 1.065 MB / 0.6228 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.897, allocations: 4.064 MB / 0.6267 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.9002, allocations: 0.623 MB / 0.6273 GB, free: 6.301 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/0.9007, allocations: 247.9 kB / 0.6276 GB, free: 6.059 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (569): * Single equations (assignments): 564 * 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.005011/0.9057, allocations: 3.375 MB / 0.6309 GB, free: 2.672 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/0.9063, allocations: 272.6 kB / 0.6311 GB, free: 2.402 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.912, allocations: 3.651 MB / 0.6347 GB, free: 14.72 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004091/0.9161, allocations: 2.866 MB / 0.6375 GB, free: 11.85 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9162, allocations: 4 kB / 0.6375 GB, free: 11.84 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.9162, allocations: 15.95 kB / 0.6375 GB, free: 11.83 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.9326, allocations: 10.05 MB / 0.6473 GB, free: 1.742 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.9326, allocations: 0 / 0.6473 GB, free: 1.742 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.9342, allocations: 415.4 kB / 0.6477 GB, free: 1.336 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/0.935, allocations: 316.9 kB / 0.648 GB, free: 1.023 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.9351, allocations: 48 kB / 0.6481 GB, free: 0.9766 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004795/0.9399, allocations: 3.903 MB / 0.6519 GB, free: 12.95 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.94, allocations: 0 / 0.6519 GB, free: 12.95 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007359/0.9473, allocations: 5.236 MB / 0.657 GB, free: 7.684 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.9486, allocations: 0.6219 MB / 0.6576 GB, free: 7.039 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/0.9491, allocations: 36 kB / 0.6576 GB, free: 7.004 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.9504, allocations: 135.8 kB / 0.6578 GB, free: 6.871 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.9508, allocations: 153.7 kB / 0.6579 GB, free: 6.719 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.951, allocations: 68.08 kB / 0.658 GB, free: 6.652 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00345/0.9544, allocations: 1.944 MB / 0.6599 GB, free: 4.699 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9544, allocations: 0 / 0.6599 GB, free: 4.699 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00476/0.9592, allocations: 1.959 MB / 0.6618 GB, free: 2.734 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (218): * Single equations (assignments): 213 * 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.0004506/0.9597, allocations: 214.2 kB / 0.662 GB, free: 2.52 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007261/0.9669, allocations: 4.685 MB / 0.6666 GB, free: 13.83 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.967, allocations: 4.25 kB / 0.6666 GB, free: 13.83 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.9694, allocations: 1.773 MB / 0.6683 GB, free: 12.04 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/0.973, allocations: 0.6319 MB / 0.6689 GB, free: 11.41 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1778/1.151, allocations: 17.05 MB / 0.6856 GB, free: 153 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004581/1.156, allocations: 5.651 MB / 0.6911 GB, free: 152 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003862/1.159, allocations: 1.697 MB / 0.6927 GB, free: 151.9 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/1.16, allocations: 227.5 kB / 0.693 GB, free: 151.9 MB / 474.8 MB Notification: Performance of SimCode: time 7.51e-07/1.16, allocations: 0 / 0.693 GB, free: 151.9 MB / 474.8 MB Notification: Performance of Templates: time 0.05764/1.218, allocations: 40.44 MB / 0.7324 GB, free: 122.5 MB / 474.8 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches