Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 196.3 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.331/1.331, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008572/0.0008574, allocations: 95.38 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002305, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2301, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004364/0.2345, allocations: 5.202 MB / 417.3 MB, free: 20.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.2374, allocations: 2.12 MB / 419.4 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005962/0.238, allocations: 47.81 kB / 419.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.2384, allocations: 238.3 kB / 419.6 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008436/0.2392, allocations: 324.7 kB / 420 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.2398, allocations: 303.7 kB / 420.3 MB, free: 17.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2412, allocations: 2.118 MB / 422.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.2431, allocations: 2.244 MB / 424.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.2438, allocations: 0.7353 MB / 425.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.2445, allocations: 0.9057 MB / 426.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.2447, allocations: 124 kB / 426.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.2452, allocations: 291.6 kB / 426.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.2455, allocations: 0.4982 MB / 427.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006658/0.2462, allocations: 1.008 MB / 428.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.2482, allocations: 3.556 MB / 431.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2482, allocations: 8 kB / 431.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2482, allocations: 0 / 431.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.2482, allocations: 0 / 431.7 MB, free: 5.949 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.002963/0.2512, allocations: 2.076 MB / 433.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2513, allocations: 12.03 kB / 433.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.2519, allocations: 274.2 kB / 434.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.2534, allocations: 1.259 MB / 435.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/0.2535, allocations: 168.9 kB / 435.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.2538, allocations: 220.1 kB / 435.7 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003748/0.2575, allocations: 2.534 MB / 438.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.2576, allocations: 4 kB / 438.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.2578, allocations: 91.98 kB / 438.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.568e-05/0.2578, allocations: 60 kB / 438.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/0.2613, allocations: 2.137 MB / 440.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.272, allocations: 7.639 MB / 448.2 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.2732, allocations: 1.272 MB / 449.5 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/0.2742, allocations: 0.614 MB / 450.1 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.2742, allocations: 12.5 kB / 450.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2743, allocations: 43.12 kB / 450.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 2.074e-06/0.2743, allocations: 0 / 450.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.003948/0.2782, allocations: 2.451 MB / 452.6 MB, free: 0.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.2783, allocations: 59.97 kB / 452.6 MB, free: 436 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/0.2793, allocations: 0.7854 MB / 453.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.2794, allocations: 33.7 kB / 453.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.2799, allocations: 0.9215 MB / 454.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.2801, allocations: 220.8 kB / 454.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.2801, allocations: 16 kB / 454.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2803, allocations: 398.7 kB / 455 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.2809, allocations: 369.7 kB / 455.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.2816, allocations: 0.579 MB / 455.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2829, allocations: 0.9932 MB / 456.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2829, allocations: 0 / 456.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001777/0.2847, allocations: 1.155 MB / 458.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2847, allocations: 19.97 kB / 458.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.2847, allocations: 7.984 kB / 458.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/0.285, allocations: 104.8 kB / 458.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.2857, allocations: 175.7 kB / 458.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.2878, allocations: 2.135 MB / 460.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.2882, allocations: 44.03 kB / 460.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.2883, allocations: 36.19 kB / 460.6 MB, free: 8.078 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.001033/0.2893, allocations: 0.6496 MB / 461.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2895, allocations: 79 kB / 461.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.2897, allocations: 107.6 kB / 461.4 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.2897, allocations: 11.94 kB / 461.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2897, allocations: 0 / 461.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2897, allocations: 7.969 kB / 461.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.2937, allocations: 2.681 MB / 464.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2937, allocations: 0 / 464.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.2942, allocations: 116 kB / 464.3 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.2944, allocations: 88.78 kB / 464.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.2945, allocations: 20 kB / 464.4 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.2964, allocations: 2.068 MB / 466.4 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2964, allocations: 0 / 466.4 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.2983, allocations: 1.431 MB / 467.9 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.2987, allocations: 220.1 kB / 468.1 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.2988, allocations: 24.05 kB / 468.1 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.2992, allocations: 43.91 kB / 468.1 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.2993, allocations: 48.47 kB / 468.2 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.2994, allocations: 28 kB / 468.2 MB, free: 184 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006793/0.3, allocations: 0.5575 MB / 468.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3001, allocations: 4 kB / 468.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001018/0.3011, allocations: 304 kB / 469.1 MB, free: 15.33 MB / 346.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.0002209/0.3013, allocations: 131.2 kB / 469.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.3028, allocations: 1.007 MB / 470.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3028, allocations: 4.062 kB / 470.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.3036, allocations: 0.5678 MB / 470.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3047, allocations: 207.1 kB / 471 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.31, allocations: 4.191 MB / 475.2 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.3113, allocations: 1.729 MB / 476.9 MB, free: 7.383 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005499/0.3119, allocations: 207 kB / 477.1 MB, free: 7.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.312, allocations: 59.44 kB / 477.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.312, allocations: 0 / 477.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of Templates: time 0.01972/0.3318, allocations: 11.59 MB / 488.8 MB, free: 11.62 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches