Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 183.1 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 225.7 MB / 243.2 MB, free: 8.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007766/0.0007767, allocations: 94.36 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002078/0.0002078, allocations: 7.938 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1704, allocations: 50.42 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.009427/0.1798, allocations: 14.31 MB / 418.9 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005386/0.1852, allocations: 5.006 MB / 423.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.1862, allocations: 131.6 kB / 424 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.1874, allocations: 1.007 MB / 425 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.1899, allocations: 1.814 MB / 426.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1915, allocations: 1.383 MB / 428.2 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004759/0.1963, allocations: 7.871 MB / 436.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03227/0.2286, allocations: 27.82 MB / 463.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004181/0.2328, allocations: 3.394 MB / 467.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004389/0.2372, allocations: 3.862 MB / 471.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000901/0.2381, allocations: 0.5508 MB / 471.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.2399, allocations: 0.781 MB / 472.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.2411, allocations: 1.518 MB / 474 MB, free: 7.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003597/0.2447, allocations: 4.056 MB / 478.1 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.2583, allocations: 17.17 MB / 495.2 MB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2583, allocations: 4 kB / 495.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2583, allocations: 0 / 495.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000301/0.2586, allocations: 0 / 495.3 MB, free: 2.406 MB / 362.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.01889/0.2775, allocations: 8.509 MB / 0.492 GB, free: 9.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2776, allocations: 8.031 kB / 0.492 GB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.2938, allocations: 3.752 MB / 0.4956 GB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008584/0.3024, allocations: 5.179 MB / 0.5007 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/0.303, allocations: 0.6785 MB / 0.5013 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2911/0.5941, allocations: 0.885 MB / 0.5022 GB, free: 83.62 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.6148, allocations: 12.67 MB / 0.5146 GB, free: 78.57 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.615, allocations: 6.688 kB / 0.5146 GB, free: 78.57 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007227/0.6157, allocations: 381.4 kB / 0.5149 GB, free: 78.28 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/0.616, allocations: 400.7 kB / 0.5153 GB, free: 78.23 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.6319, allocations: 11.36 MB / 0.5264 GB, free: 68.89 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04509/0.677, allocations: 43.83 MB / 0.5692 GB, free: 24.22 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007035/0.6841, allocations: 10.52 MB / 0.5795 GB, free: 12.46 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.6858, allocations: 1.714 MB / 0.5812 GB, free: 10.76 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.686, allocations: 143.3 kB / 0.5813 GB, free: 10.61 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6861, allocations: 56.5 kB / 0.5814 GB, free: 10.54 MB / 378.8 MB Notification: Performance of pre-optimization done (n=229): time 4.258e-06/0.6861, allocations: 0 / 0.5814 GB, free: 10.54 MB / 378.8 MB Notification: Performance of matching and sorting (n=229): time 0.006634/0.6927, allocations: 4.778 MB / 0.586 GB, free: 5.746 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.6928, allocations: 73.41 kB / 0.5861 GB, free: 5.66 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.6957, allocations: 2.906 MB / 0.5889 GB, free: 2.734 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 9.153e-05/0.6958, allocations: 61.7 kB / 0.589 GB, free: 2.668 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.6973, allocations: 3.822 MB / 0.5927 GB, free: 14.82 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/0.6978, allocations: 0.8111 MB / 0.5935 GB, free: 14.02 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.698, allocations: 92 kB / 0.5936 GB, free: 13.93 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.6983, allocations: 0.4962 MB / 0.5941 GB, free: 13.42 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.7008, allocations: 1.992 MB / 0.596 GB, free: 11.42 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/0.7045, allocations: 4.177 MB / 0.6001 GB, free: 6.176 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.7111, allocations: 6.565 MB / 0.6065 GB, free: 14.53 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/0.7111, allocations: 20 kB / 0.6065 GB, free: 14.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.008461/0.7196, allocations: 6.558 MB / 0.6129 GB, free: 7.898 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.7197, allocations: 36 kB / 0.613 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.416e-05/0.7197, allocations: 79.94 kB / 0.6131 GB, free: 7.785 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007766/0.7205, allocations: 404.8 kB / 0.6134 GB, free: 7.387 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.7235, allocations: 1.057 MB / 0.6145 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004271/0.7277, allocations: 4.059 MB / 0.6184 GB, free: 2.141 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.73, allocations: 0.6231 MB / 0.619 GB, free: 1.512 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/0.7303, allocations: 244 kB / 0.6193 GB, free: 1.273 MB / 410.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.004165/0.7344, allocations: 3.379 MB / 0.6226 GB, free: 13.88 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.7348, allocations: 280.5 kB / 0.6228 GB, free: 13.61 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.74, allocations: 3.647 MB / 0.6264 GB, free: 9.93 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003688/0.7437, allocations: 2.874 MB / 0.6292 GB, free: 7.047 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7437, allocations: 4 kB / 0.6292 GB, free: 7.043 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.7437, allocations: 11.95 kB / 0.6292 GB, free: 7.031 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.7578, allocations: 10.05 MB / 0.639 GB, free: 12.94 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.7578, allocations: 4 kB / 0.639 GB, free: 12.94 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.7593, allocations: 411.4 kB / 0.6394 GB, free: 12.54 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006369/0.76, allocations: 308.8 kB / 0.6397 GB, free: 12.23 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.7601, allocations: 47.98 kB / 0.6398 GB, free: 12.18 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004108/0.7642, allocations: 3.886 MB / 0.6436 GB, free: 8.176 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7643, allocations: 4 kB / 0.6436 GB, free: 8.172 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/0.7708, allocations: 5.237 MB / 0.6487 GB, free: 2.902 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/0.7718, allocations: 0.622 MB / 0.6493 GB, free: 2.258 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.772, allocations: 44 kB / 0.6493 GB, free: 2.215 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.7731, allocations: 135.8 kB / 0.6495 GB, free: 2.082 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.7734, allocations: 149.9 kB / 0.6496 GB, free: 1.934 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.7735, allocations: 67.97 kB / 0.6497 GB, free: 1.867 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002484/0.776, allocations: 1.947 MB / 0.6516 GB, free: 15.91 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.5e-07/0.776, allocations: 0 / 0.6516 GB, free: 15.91 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004025/0.78, allocations: 1.966 MB / 0.6535 GB, free: 13.94 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.0003647/0.7804, allocations: 220.3 kB / 0.6537 GB, free: 13.73 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006117/0.7865, allocations: 4.678 MB / 0.6583 GB, free: 9.039 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.7865, allocations: 0 / 0.6583 GB, free: 9.039 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.7887, allocations: 1.778 MB / 0.66 GB, free: 7.246 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/0.7916, allocations: 0.6289 MB / 0.6606 GB, free: 6.621 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1642/0.9558, allocations: 17.05 MB / 0.6773 GB, free: 143.6 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004489/0.9603, allocations: 5.648 MB / 0.6828 GB, free: 142.3 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003915/0.9643, allocations: 1.696 MB / 0.6845 GB, free: 142.1 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.9648, allocations: 227.7 kB / 0.6847 GB, free: 142.1 MB / 458.8 MB Notification: Performance of SimCode: time 6.72e-07/0.9648, allocations: 0 / 0.6847 GB, free: 142.1 MB / 458.8 MB Notification: Performance of Templates: time 0.05425/1.019, allocations: 40.56 MB / 0.7243 GB, free: 109.3 MB / 458.8 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches