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.001707/0.001707, allocations: 110.9 kB / 17.29 MB, free: 6.188 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.002034/0.002034, allocations: 193.3 kB / 18.21 MB, free: 5.266 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.359/1.359, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 43.89 kB / 300.8 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.09743, allocations: 49.44 MB / 350.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007387/0.1049, allocations: 5.983 MB / 356.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.1085, allocations: 1.589 MB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1097, allocations: 47.81 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.1107, allocations: 246.3 kB / 358.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.1124, allocations: 322.2 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.1133, allocations: 307.7 kB / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.1157, allocations: 1.997 MB / 360.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003746/0.1194, allocations: 2.739 MB / 363.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.1208, allocations: 1.044 MB / 364.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.1227, allocations: 1.214 MB / 365.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005912/0.1233, allocations: 312 kB / 366 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000994/0.1243, allocations: 483.6 kB / 366.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008075/0.1251, allocations: 0.7247 MB / 367.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.1269, allocations: 1.264 MB / 368.5 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1601/0.287, allocations: 3.157 MB / 371.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2871, allocations: 0 / 371.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2871, allocations: 0 / 371.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001472/0.2873, allocations: 0.5625 kB / 371.6 MB, free: 15.8 MB / 302.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.0058/0.2931, allocations: 2.468 MB / 374.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2931, allocations: 13.64 kB / 374.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.2938, allocations: 245.3 kB / 374.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.2958, allocations: 1.26 MB / 375.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2959, allocations: 164.7 kB / 375.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.2962, allocations: 224.5 kB / 376 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.301, allocations: 2.541 MB / 378.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.301, allocations: 0 / 378.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.3012, allocations: 94.91 kB / 378.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.3013, allocations: 58.56 kB / 378.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/0.3054, allocations: 2.138 MB / 380.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.317, allocations: 7.602 MB / 388.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3181, allocations: 1.258 MB / 389.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009618/0.3191, allocations: 0.6232 MB / 390.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.3191, allocations: 7.062 kB / 390.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.3192, allocations: 37.78 kB / 390.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.685e-06/0.3192, allocations: 4 kB / 390.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003786/0.323, allocations: 2.426 MB / 392.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.323, allocations: 61.03 kB / 392.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/0.324, allocations: 0.7991 MB / 393.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.324, allocations: 36.8 kB / 393.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.3244, allocations: 0.9122 MB / 394.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3245, allocations: 227.1 kB / 394.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.3247, allocations: 152 kB / 394.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3248, allocations: 388.7 kB / 395.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.3253, allocations: 368 kB / 395.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.3259, allocations: 0.5784 MB / 396.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3269, allocations: 0.9819 MB / 397.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3269, allocations: 0 / 397.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001559/0.3285, allocations: 1.148 MB / 398.4 MB, free: 2.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3285, allocations: 15.64 kB / 398.4 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3286, allocations: 11.5 kB / 398.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.3288, allocations: 108.4 kB / 398.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.3295, allocations: 173 kB / 398.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.3311, allocations: 2.328 MB / 401 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.3317, allocations: 37.53 kB / 401.1 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.3318, allocations: 37.77 kB / 401.1 MB, free: 264 kB / 302.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.001021/0.3328, allocations: 0.6529 MB / 401.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.333, allocations: 82.97 kB / 401.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.3332, allocations: 103.5 kB / 401.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.3333, allocations: 11.98 kB / 401.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.3333, allocations: 0 / 401.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3333, allocations: 3.984 kB / 401.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.3375, allocations: 2.662 MB / 404.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3375, allocations: 0 / 404.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.338, allocations: 105.6 kB / 404.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/0.3382, allocations: 100.9 kB / 404.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.3383, allocations: 15.98 kB / 404.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.3403, allocations: 2.268 MB / 407.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.3404, allocations: 8.031 kB / 407.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.3424, allocations: 1.42 MB / 408.5 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.3428, allocations: 220 kB / 408.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3429, allocations: 19.98 kB / 408.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.3433, allocations: 45.98 kB / 408.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3434, allocations: 48.5 kB / 408.8 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.3435, allocations: 16 kB / 408.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006805/0.3442, allocations: 0.5644 MB / 409.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3442, allocations: 0 / 409.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00112/0.3453, allocations: 300 kB / 409.7 MB, free: 7.484 MB / 318.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.00026/0.3456, allocations: 138.9 kB / 409.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.3475, allocations: 1.131 MB / 411 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3475, allocations: 4.125 kB / 411 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.3483, allocations: 0.5585 MB / 411.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.3495, allocations: 220 kB / 411.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.3554, allocations: 4.146 MB / 415.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.3567, allocations: 1.68 MB / 417.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.357, allocations: 63.44 kB / 417.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.357, allocations: 0 / 417.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Templates: time 0.03354/0.3905, allocations: 28.45 MB / 446.1 MB, free: 3.129 MB / 350.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