Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.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.0008696/0.0008697, allocations: 179.6 kB / 16.71 MB, free: 5.094 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.237/1.237, allocations: 225.7 MB / 243.2 MB, free: 10.18 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.0008394/0.0008399, allocations: 92.58 kB / 294.4 MB, free: 9.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002581, allocations: 8 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2246, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004368/0.229, allocations: 5.182 MB / 409.8 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.232, allocations: 1.859 MB / 411.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.2331, allocations: 43.81 kB / 411.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.2338, allocations: 249.5 kB / 411.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.2352, allocations: 318.2 kB / 412.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.2361, allocations: 302.2 kB / 412.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.2382, allocations: 2.118 MB / 414.6 MB, free: 21.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.2414, allocations: 2.252 MB / 416.9 MB, free: 18.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.2426, allocations: 0.7235 MB / 417.6 MB, free: 18.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.244, allocations: 0.9058 MB / 418.5 MB, free: 17.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.2442, allocations: 124 kB / 418.6 MB, free: 17.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.245, allocations: 291.6 kB / 418.9 MB, free: 16.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.2455, allocations: 0.4982 MB / 419.4 MB, free: 16.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.2467, allocations: 1.02 MB / 420.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.25, allocations: 3.544 MB / 424 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.25, allocations: 0 / 424 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.25, allocations: 0 / 424 MB, free: 11.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.88e-05/0.2501, allocations: 0 / 424 MB, free: 11.77 MB / 298.7 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.004693/0.2548, allocations: 2.08 MB / 426 MB, free: 9.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2549, allocations: 8.031 kB / 426.1 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.2558, allocations: 242.2 kB / 426.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.2583, allocations: 1.259 MB / 427.6 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.2585, allocations: 172.9 kB / 427.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.2589, allocations: 220.1 kB / 427.9 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/0.2648, allocations: 2.534 MB / 430.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.2648, allocations: 0 / 430.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.2651, allocations: 92 kB / 430.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.484e-05/0.2652, allocations: 56 kB / 430.6 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/0.2701, allocations: 2.137 MB / 432.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.2862, allocations: 7.646 MB / 440.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.288, allocations: 1.268 MB / 441.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.2894, allocations: 0.6256 MB / 442.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.2895, allocations: 12.56 kB / 442.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.2895, allocations: 43.06 kB / 442.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 4.999e-06/0.2895, allocations: 0 / 442.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.006011/0.2956, allocations: 2.451 MB / 444.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.2956, allocations: 59.97 kB / 444.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.2971, allocations: 0.7854 MB / 445.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.2972, allocations: 37.69 kB / 445.7 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006876/0.2979, allocations: 0.9177 MB / 446.6 MB, free: 4.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.2981, allocations: 224.7 kB / 446.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.2982, allocations: 20 kB / 446.8 MB, free: 4.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.2984, allocations: 390.8 kB / 447.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008171/0.2992, allocations: 365.7 kB / 447.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3003, allocations: 0.5829 MB / 448.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.3016, allocations: 0.9932 MB / 449.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3016, allocations: 0 / 449.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001726/0.3034, allocations: 1.159 MB / 450.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.3034, allocations: 15.92 kB / 450.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3034, allocations: 4 kB / 450.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.3038, allocations: 112.7 kB / 450.4 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.3045, allocations: 171.8 kB / 450.6 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.3068, allocations: 2.135 MB / 452.7 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.3073, allocations: 39.97 kB / 452.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.3073, allocations: 36.06 kB / 452.8 MB, free: 13.93 MB / 330.7 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.00102/0.3084, allocations: 0.6496 MB / 453.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.3085, allocations: 83.06 kB / 453.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.3087, allocations: 107.7 kB / 453.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.3087, allocations: 11.94 kB / 453.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.3087, allocations: 7.938 kB / 453.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3088, allocations: 3.984 kB / 453.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/0.3126, allocations: 2.677 MB / 456.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3127, allocations: 0 / 456.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.3131, allocations: 120 kB / 456.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/0.3134, allocations: 92.78 kB / 456.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.3134, allocations: 15.98 kB / 456.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.3152, allocations: 2.072 MB / 458.6 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3152, allocations: 3.984 kB / 458.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.3171, allocations: 1.427 MB / 460.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.3174, allocations: 232.2 kB / 460.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.3175, allocations: 12 kB / 460.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.3179, allocations: 43.95 kB / 460.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.318, allocations: 48.48 kB / 460.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.3181, allocations: 19.94 kB / 460.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006802/0.3187, allocations: 0.5576 MB / 461 MB, free: 5.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3188, allocations: 0 / 461 MB, free: 5.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009677/0.3197, allocations: 300 kB / 461.3 MB, free: 5.18 MB / 330.7 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.0002554/0.32, allocations: 147.1 kB / 461.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.3215, allocations: 1.007 MB / 462.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3216, allocations: 0 / 462.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.3223, allocations: 0.5678 MB / 463 MB, free: 3.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3234, allocations: 207.5 kB / 463.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.3299, allocations: 4.2 MB / 467.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.3312, allocations: 1.725 MB / 469.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000625/0.3318, allocations: 203.1 kB / 469.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.332, allocations: 63.42 kB / 469.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.332, allocations: 4 kB / 469.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of Templates: time 0.02109/0.3531, allocations: 11.58 MB / 481 MB, free: 1.445 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches