Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 114.9 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 188.4 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 43.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007075/0.2607, allocations: 5.999 MB / 407.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.2644, allocations: 1.635 MB / 409 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.2651, allocations: 51.81 kB / 409.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006322/0.2658, allocations: 301.5 kB / 409.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.267, allocations: 373.5 kB / 409.8 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.2676, allocations: 351.5 kB / 410.1 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.2695, allocations: 2.013 MB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.2722, allocations: 2.727 MB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.2738, allocations: 1.044 MB / 415.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.2757, allocations: 1.206 MB / 417.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003748/0.2761, allocations: 308 kB / 417.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007924/0.2769, allocations: 475.6 kB / 417.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000584/0.2774, allocations: 0.7286 MB / 418.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.2787, allocations: 1.268 MB / 419.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.2821, allocations: 3.802 MB / 423.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2821, allocations: 4 kB / 423.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2821, allocations: 4 kB / 423.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.182e-05/0.2822, allocations: 0 / 423.7 MB, free: 2.477 MB / 334.1 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.004752/0.2869, allocations: 2.457 MB / 426.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.287, allocations: 15.89 kB / 426.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005837/0.2876, allocations: 246.2 kB / 426.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.2895, allocations: 1.302 MB / 427.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.2896, allocations: 168.9 kB / 427.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.2899, allocations: 220.1 kB / 428.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/0.294, allocations: 2.545 MB / 430.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.294, allocations: 0 / 430.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.2942, allocations: 88 kB / 430.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.2943, allocations: 56 kB / 430.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.2976, allocations: 2.145 MB / 432.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.3082, allocations: 7.482 MB / 440.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.3095, allocations: 1.257 MB / 441.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.3105, allocations: 0.6374 MB / 442.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.3106, allocations: 12.55 kB / 442.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3106, allocations: 39.12 kB / 442.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.919e-06/0.3106, allocations: 7.938 kB / 442.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003986/0.3146, allocations: 2.42 MB / 444.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3147, allocations: 59.97 kB / 444.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/0.3156, allocations: 0.7932 MB / 445.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.3157, allocations: 37.7 kB / 445.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.3162, allocations: 0.9138 MB / 446.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.3164, allocations: 224.8 kB / 446.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.3166, allocations: 154.5 kB / 446.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3167, allocations: 386.8 kB / 447.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.3173, allocations: 369.8 kB / 447.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.318, allocations: 0.5756 MB / 448.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3192, allocations: 0.9893 MB / 449.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3192, allocations: 8 kB / 449.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001713/0.3209, allocations: 1.139 MB / 450.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3209, allocations: 11.94 kB / 450.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.321, allocations: 12.48 kB / 450.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.3213, allocations: 120.7 kB / 450.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.3219, allocations: 171.8 kB / 450.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.324, allocations: 2.325 MB / 453 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.3246, allocations: 35.97 kB / 453 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.3246, allocations: 36.06 kB / 453.1 MB, free: 4.066 MB / 366.1 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.0009653/0.3256, allocations: 0.6496 MB / 453.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3258, allocations: 90.89 kB / 453.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.326, allocations: 95.56 kB / 453.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.326, allocations: 8 kB / 453.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.326, allocations: 4 kB / 453.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3261, allocations: 3.984 kB / 453.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.3299, allocations: 2.651 MB / 456.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3299, allocations: 4 kB / 456.6 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.3304, allocations: 111.8 kB / 456.7 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.3306, allocations: 96.94 kB / 456.8 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.3306, allocations: 19.98 kB / 456.8 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.3326, allocations: 2.275 MB / 459.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3326, allocations: 0 / 459.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.3345, allocations: 1.412 MB / 460.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.3348, allocations: 228.1 kB / 460.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.335, allocations: 19.98 kB / 460.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.3354, allocations: 39.91 kB / 460.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3355, allocations: 48.48 kB / 460.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.3355, allocations: 20 kB / 460.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007006/0.3362, allocations: 0.5536 MB / 461.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3363, allocations: 4 kB / 461.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.3373, allocations: 296 kB / 461.7 MB, free: 11.17 MB / 382.1 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.0002568/0.3376, allocations: 155 kB / 461.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3391, allocations: 0.994 MB / 462.8 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3392, allocations: 9.625 kB / 462.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007944/0.34, allocations: 0.5603 MB / 463.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3411, allocations: 222.8 kB / 463.6 MB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.3459, allocations: 3.187 MB / 466.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.3471, allocations: 1.68 MB / 468.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.3474, allocations: 71.42 kB / 468.5 MB, free: 4.18 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3474, allocations: 0 / 468.5 MB, free: 4.18 MB / 382.1 MB Notification: Performance of Templates: time 0.03708/0.3845, allocations: 28.56 MB / 497.1 MB, free: 7.672 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches