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.001503/0.001503, allocations: 109.4 kB / 18.4 MB, free: 4.684 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.00181/0.00181, allocations: 189.2 kB / 19.33 MB, free: 3.758 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.258/1.258, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001268/0.001268, allocations: 59.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.07551, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.1654/0.241, allocations: 5.939 MB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.2438, allocations: 1.689 MB / 383.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.2443, allocations: 38.41 kB / 383.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005446/0.2449, allocations: 309.9 kB / 383.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009896/0.2459, allocations: 365.5 kB / 384.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.2466, allocations: 364.2 kB / 384.5 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.2486, allocations: 2.01 MB / 386.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/0.2514, allocations: 2.697 MB / 389.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2528, allocations: 1.037 MB / 390.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.2544, allocations: 1.199 MB / 391.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.2549, allocations: 313.4 kB / 391.8 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.2559, allocations: 484.6 kB / 392.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006186/0.2566, allocations: 0.7273 MB / 393 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.258, allocations: 1.261 MB / 394.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.2623, allocations: 3.792 MB / 398 MB, free: 3.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.2624, allocations: 0.9844 kB / 398 MB, free: 3.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2624, allocations: 1.125 kB / 398 MB, free: 3.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000107/0.2625, allocations: 1.406 kB / 398 MB, free: 3.266 MB / 318.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.004578/0.2671, allocations: 2.461 MB / 400.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2671, allocations: 13.14 kB / 400.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.2677, allocations: 237.3 kB / 400.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.2695, allocations: 1.182 MB / 401.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.2696, allocations: 171.5 kB / 402.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.2699, allocations: 216.9 kB / 402.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.2741, allocations: 2.544 MB / 404.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.2741, allocations: 0 / 404.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.2743, allocations: 90.84 kB / 404.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.787e-05/0.2744, allocations: 56.41 kB / 405 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.278, allocations: 2.136 MB / 407.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.289, allocations: 7.49 MB / 414.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.2902, allocations: 1.244 MB / 415.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.2913, allocations: 0.6268 MB / 416.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.2913, allocations: 16.55 kB / 416.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2914, allocations: 35.12 kB / 416.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 3.206e-06/0.2914, allocations: 0 / 416.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.003989/0.2954, allocations: 2.443 MB / 419 MB, free: 3.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2954, allocations: 55.97 kB / 419 MB, free: 3.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/0.2964, allocations: 0.7971 MB / 419.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.2965, allocations: 37.7 kB / 419.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/0.297, allocations: 0.9137 MB / 420.8 MB, free: 2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.2972, allocations: 224.7 kB / 421 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.2974, allocations: 146.6 kB / 421.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2976, allocations: 394.8 kB / 421.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.2981, allocations: 369.7 kB / 421.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.2988, allocations: 0.5828 MB / 422.5 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3001, allocations: 0.9855 MB / 423.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3001, allocations: 7.938 kB / 423.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001752/0.3019, allocations: 1.147 MB / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3019, allocations: 15.94 kB / 424.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3019, allocations: 8 kB / 424.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.3022, allocations: 108.8 kB / 424.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.3029, allocations: 175.7 kB / 424.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.3052, allocations: 2.329 MB / 427.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.3058, allocations: 39.97 kB / 427.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/0.3059, allocations: 35.98 kB / 427.3 MB, free: 11.1 MB / 350.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.001018/0.3069, allocations: 0.6419 MB / 427.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.3071, allocations: 83 kB / 428 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.3073, allocations: 107.6 kB / 428.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/0.3074, allocations: 11.94 kB / 428.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3074, allocations: 0 / 428.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3074, allocations: 3.984 kB / 428.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.3118, allocations: 2.659 MB / 430.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.3119, allocations: 4.031 kB / 430.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.3124, allocations: 107.9 kB / 430.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.3126, allocations: 104.8 kB / 431 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.3127, allocations: 19.98 kB / 431 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.3147, allocations: 2.271 MB / 433.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3147, allocations: 0 / 433.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.3167, allocations: 1.416 MB / 434.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.3171, allocations: 220.1 kB / 434.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.3173, allocations: 19.98 kB / 435 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.3177, allocations: 43.97 kB / 435 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.3179, allocations: 56.47 kB / 435 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.3179, allocations: 16 kB / 435.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007586/0.3187, allocations: 0.5536 MB / 435.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3187, allocations: 3.938 kB / 435.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00119/0.3199, allocations: 308 kB / 435.9 MB, free: 2.18 MB / 350.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.000288/0.3202, allocations: 131.1 kB / 436.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.3218, allocations: 1.018 MB / 437.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3219, allocations: 0 / 437.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.3227, allocations: 0.5576 MB / 437.6 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3238, allocations: 222.8 kB / 437.8 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/0.3296, allocations: 3.183 MB / 441 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/0.331, allocations: 1.684 MB / 442.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.3313, allocations: 71.42 kB / 442.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3313, allocations: 0 / 442.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.03589/0.3672, allocations: 28.76 MB / 471.5 MB, free: 14.4 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches