Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000959/0.0009591, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007433/0.0007435, allocations: 85.36 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 16 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2313, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.004838/0.2362, allocations: 5.136 MB / 380.2 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.24, allocations: 1.583 MB / 381.8 MB, free: 40.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.241, allocations: 39.28 kB / 381.8 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.2415, allocations: 226 kB / 382.1 MB, free: 39.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.2429, allocations: 306.2 kB / 382.4 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.2435, allocations: 227.2 kB / 382.6 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.2456, allocations: 1.995 MB / 384.6 MB, free: 38.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.2482, allocations: 2.221 MB / 386.8 MB, free: 36.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.2494, allocations: 0.7082 MB / 387.5 MB, free: 36.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.2507, allocations: 0.8712 MB / 388.4 MB, free: 35.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.2509, allocations: 128 kB / 388.5 MB, free: 35.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006058/0.2515, allocations: 291.6 kB / 388.8 MB, free: 34.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.2518, allocations: 0.4945 MB / 389.3 MB, free: 34.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008329/0.2527, allocations: 0.9852 MB / 390.3 MB, free: 33.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.2548, allocations: 3.055 MB / 393.3 MB, free: 30.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2548, allocations: 0 / 393.3 MB, free: 30.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2548, allocations: 4 kB / 393.3 MB, free: 30.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.734e-05/0.2549, allocations: 0 / 393.3 MB, free: 30.36 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.00329/0.2582, allocations: 2.072 MB / 395.4 MB, free: 28.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2583, allocations: 8.031 kB / 395.4 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005091/0.2588, allocations: 238.2 kB / 395.6 MB, free: 27.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.2603, allocations: 1.178 MB / 396.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.2604, allocations: 172.9 kB / 397 MB, free: 26.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.2606, allocations: 220.1 kB / 397.2 MB, free: 26.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.2644, allocations: 2.526 MB / 399.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.2644, allocations: 0 / 399.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.2646, allocations: 91.98 kB / 399.8 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.2647, allocations: 56 kB / 399.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.2679, allocations: 2.134 MB / 402 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/0.2776, allocations: 7.646 MB / 409.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.2786, allocations: 1.26 MB / 410.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/0.2794, allocations: 0.6224 MB / 411.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.2795, allocations: 8.547 kB / 411.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2795, allocations: 39.12 kB / 411.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 4.298e-06/0.2795, allocations: 0 / 411.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.003636/0.2832, allocations: 2.463 MB / 414 MB, free: 9.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2832, allocations: 63.97 kB / 414.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.284, allocations: 0.7893 MB / 414.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.2841, allocations: 33.7 kB / 414.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.2844, allocations: 0.9176 MB / 415.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2845, allocations: 228.7 kB / 416.1 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.2846, allocations: 16 kB / 416.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.2847, allocations: 386.8 kB / 416.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.2851, allocations: 377.7 kB / 416.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.2857, allocations: 0.5751 MB / 417.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2868, allocations: 0.9971 MB / 418.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.2868, allocations: 4 kB / 418.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00146/0.2882, allocations: 1.151 MB / 419.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2883, allocations: 13.81 kB / 419.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.2883, allocations: 8 kB / 419.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000275/0.2886, allocations: 116.8 kB / 419.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.2892, allocations: 179.7 kB / 419.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.2908, allocations: 2.138 MB / 422 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.2913, allocations: 39.97 kB / 422 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.2914, allocations: 32 kB / 422.1 MB, free: 0.6094 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000942/0.2923, allocations: 0.6496 MB / 422.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.2925, allocations: 83.05 kB / 422.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.2927, allocations: 95.62 kB / 422.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/0.2927, allocations: 15.94 kB / 422.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.2928, allocations: 4 kB / 422.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.2928, allocations: 3.984 kB / 422.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.2969, allocations: 2.689 MB / 425.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.297, allocations: 4.156 kB / 425.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.2974, allocations: 107.9 kB / 425.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.2977, allocations: 96.78 kB / 425.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.2977, allocations: 16.06 kB / 425.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.2997, allocations: 2.084 MB / 427.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2998, allocations: 0 / 427.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.3018, allocations: 1.435 MB / 429.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.3022, allocations: 232 kB / 429.6 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.3023, allocations: 12 kB / 429.6 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.3027, allocations: 47.95 kB / 429.6 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3028, allocations: 48.5 kB / 429.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.3029, allocations: 23.92 kB / 429.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007288/0.3036, allocations: 0.5536 MB / 430.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3036, allocations: 0 / 430.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00112/0.3048, allocations: 300 kB / 430.6 MB, free: 7.852 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002819/0.305, allocations: 135.1 kB / 430.7 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.3067, allocations: 1.013 MB / 431.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3068, allocations: 0 / 431.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.3076, allocations: 0.5699 MB / 432.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.3088, allocations: 206.8 kB / 432.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/0.3146, allocations: 3.98 MB / 436.5 MB, free: 1.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.316, allocations: 1.684 MB / 438.1 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.3163, allocations: 67.42 kB / 438.2 MB, free: 84 kB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3163, allocations: 0 / 438.2 MB, free: 84 kB / 314.7 MB Notification: Performance of Templates: time 0.0364/0.3527, allocations: 28.19 MB / 466.4 MB, free: 3.875 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches