Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) 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 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.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_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_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 108.9 kB / 17.16 MB, free: 6.305 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.002138/0.002139, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 223.9 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 51.92 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1664, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.01097/0.1775, allocations: 5.945 MB / 332.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005942/0.1835, allocations: 1.64 MB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.1861, allocations: 35.81 kB / 334.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.1882, allocations: 246.3 kB / 334.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.192, allocations: 322.3 kB / 334.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.194, allocations: 299.7 kB / 335.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00471/0.1988, allocations: 2.126 MB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/0.2034, allocations: 2.244 MB / 339.4 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.2057, allocations: 0.907 MB / 340.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.2087, allocations: 1.152 MB / 341.5 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005067/0.2092, allocations: 204 kB / 341.7 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.2104, allocations: 383.6 kB / 342.1 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008035/0.2112, allocations: 0.6192 MB / 342.7 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.2133, allocations: 1.147 MB / 343.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005687/0.219, allocations: 3.673 MB / 347.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.2191, allocations: 0 / 347.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2192, allocations: 0 / 347.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.2193, allocations: 4 kB / 347.5 MB, free: 15.84 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.007926/0.2273, allocations: 2.458 MB / 350 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.644e-05/0.2274, allocations: 12.03 kB / 350 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009336/0.2283, allocations: 234.1 kB / 350.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.231, allocations: 1.185 MB / 351.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.2312, allocations: 168.9 kB / 351.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.2316, allocations: 224 kB / 351.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005959/0.2375, allocations: 2.538 MB / 354.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/0.2377, allocations: 0 / 354.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.2379, allocations: 92 kB / 354.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.471e-05/0.238, allocations: 56 kB / 354.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005262/0.2433, allocations: 2.141 MB / 356.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/0.2649, allocations: 7.607 MB / 364.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.2673, allocations: 1.244 MB / 365.4 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.2691, allocations: 0.618 MB / 366.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.805e-05/0.2692, allocations: 8.562 kB / 366.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.823e-05/0.2693, allocations: 39.11 kB / 366.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 7.544e-06/0.2693, allocations: 7.938 kB / 366.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.007562/0.2769, allocations: 2.447 MB / 368.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.2771, allocations: 55.97 kB / 368.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.2794, allocations: 0.7894 MB / 369.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.2795, allocations: 37.7 kB / 369.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.2807, allocations: 0.9138 MB / 370.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.281, allocations: 224.8 kB / 370.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.2814, allocations: 146.5 kB / 370.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.2816, allocations: 394.8 kB / 371.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.2823, allocations: 365.8 kB / 371.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009374/0.2833, allocations: 0.5789 MB / 372 MB, free: 6.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.2851, allocations: 0.9932 MB / 373 MB, free: 5.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.2851, allocations: 4 kB / 373 MB, free: 5.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002892/0.288, allocations: 1.147 MB / 374.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.2881, allocations: 16.03 kB / 374.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/0.2881, allocations: 8 kB / 374.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/0.2887, allocations: 108.7 kB / 374.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.2894, allocations: 171.8 kB / 374.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.2925, allocations: 2.135 MB / 376.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.2934, allocations: 40.03 kB / 376.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.2935, allocations: 32 kB / 376.7 MB, free: 1.652 MB / 318.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.001826/0.2953, allocations: 0.6496 MB / 377.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.2958, allocations: 82.97 kB / 377.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.2962, allocations: 99.73 kB / 377.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-05/0.2962, allocations: 11.94 kB / 377.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/0.2963, allocations: 11.94 kB / 377.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.2963, allocations: 3.984 kB / 377.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3847/0.681, allocations: 2.656 MB / 380.2 MB, free: 50.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.6811, allocations: 1.375 kB / 380.2 MB, free: 50.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/0.6818, allocations: 108.4 kB / 380.3 MB, free: 50.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.6823, allocations: 101.2 kB / 380.4 MB, free: 50.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.6824, allocations: 16.91 kB / 380.4 MB, free: 50.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.6858, allocations: 2.068 MB / 382.5 MB, free: 49.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.6859, allocations: 8.125 kB / 382.5 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.6896, allocations: 1.418 MB / 383.9 MB, free: 48.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/0.6903, allocations: 227.6 kB / 384.1 MB, free: 48.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.6904, allocations: 15.31 kB / 384.2 MB, free: 48.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.691, allocations: 50.05 kB / 384.2 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.6912, allocations: 52 kB / 384.3 MB, free: 48.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.6913, allocations: 19.52 kB / 384.3 MB, free: 48.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001383/0.6927, allocations: 0.5614 MB / 384.8 MB, free: 48.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6927, allocations: 0 / 384.8 MB, free: 48.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00228/0.695, allocations: 300.8 kB / 385.1 MB, free: 48.42 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.0004257/0.6954, allocations: 134.9 kB / 385.3 MB, free: 48.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.6984, allocations: 1.004 MB / 386.3 MB, free: 47.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.6985, allocations: 0 / 386.3 MB, free: 47.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.7001, allocations: 0.5618 MB / 386.8 MB, free: 47.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.7019, allocations: 209.8 kB / 387 MB, free: 47.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.7126, allocations: 4.143 MB / 391.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/0.7156, allocations: 1.725 MB / 392.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.7167, allocations: 205.6 kB / 393.1 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.7169, allocations: 58.75 kB / 393.2 MB, free: 44.19 MB / 318.1 MB Notification: Performance of SimCode: time 2.054e-06/0.717, allocations: 0 / 393.2 MB, free: 44.19 MB / 318.1 MB Notification: Performance of Templates: time 0.02948/0.7465, allocations: 11.73 MB / 404.9 MB, free: 36.81 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches