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.001108/0.001108, allocations: 107.6 kB / 17.06 MB, free: 6.023 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.001135/0.001135, allocations: 191 kB / 18 MB, free: 5.105 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 43.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2587, allocations: 49.43 MB / 400.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00665/0.2654, allocations: 6.003 MB / 406.7 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.2687, allocations: 1.635 MB / 408.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008233/0.2696, allocations: 51.81 kB / 408.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.2704, allocations: 317.5 kB / 408.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.2718, allocations: 373.5 kB / 409.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.2724, allocations: 355.5 kB / 409.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.2744, allocations: 2.02 MB / 411.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.2771, allocations: 2.723 MB / 414.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.2783, allocations: 1.04 MB / 415.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.2797, allocations: 1.202 MB / 416.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.28, allocations: 312 kB / 416.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.2807, allocations: 479.6 kB / 417.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005558/0.2813, allocations: 0.7325 MB / 417.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.2825, allocations: 1.256 MB / 419.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.2858, allocations: 3.802 MB / 423 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2858, allocations: 0 / 423 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2858, allocations: 4 kB / 423 MB, free: 2.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.071e-05/0.2859, allocations: 0 / 423 MB, free: 2.633 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.004126/0.29, allocations: 2.462 MB / 425.4 MB, free: 112 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2901, allocations: 15.83 kB / 425.5 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.2906, allocations: 246.4 kB / 425.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.2924, allocations: 1.298 MB / 427 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2926, allocations: 172.9 kB / 427.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.2929, allocations: 224.1 kB / 427.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.2967, allocations: 2.538 MB / 429.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.2968, allocations: 0 / 429.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.2969, allocations: 95.98 kB / 430 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/0.297, allocations: 56 kB / 430.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.3004, allocations: 2.141 MB / 432.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.3116, allocations: 7.482 MB / 439.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.3133, allocations: 1.257 MB / 441 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.3145, allocations: 0.649 MB / 441.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.3146, allocations: 8.562 kB / 441.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.3146, allocations: 39.12 kB / 441.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.3146, allocations: 0 / 441.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00422/0.3188, allocations: 2.431 MB / 444.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3189, allocations: 55.97 kB / 444.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/0.3199, allocations: 0.7971 MB / 444.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.32, allocations: 33.7 kB / 445 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.3205, allocations: 0.9138 MB / 445.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.3207, allocations: 224.8 kB / 446.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3209, allocations: 146.5 kB / 446.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3211, allocations: 394.7 kB / 446.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.3216, allocations: 365.8 kB / 447 MB, free: 9.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.3223, allocations: 0.5795 MB / 447.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.3236, allocations: 0.9893 MB / 448.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3236, allocations: 0 / 448.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001715/0.3253, allocations: 1.143 MB / 449.7 MB, free: 7.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3254, allocations: 11.94 kB / 449.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.3254, allocations: 8 kB / 449.7 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.3257, allocations: 113.2 kB / 449.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.3263, allocations: 175.7 kB / 450 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.3284, allocations: 2.325 MB / 452.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.3289, allocations: 40.16 kB / 452.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.329, allocations: 40.05 kB / 452.4 MB, free: 4.207 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.000907/0.3299, allocations: 0.6512 MB / 453.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.33, allocations: 90.89 kB / 453.1 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.3302, allocations: 99.56 kB / 453.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.3303, allocations: 11.98 kB / 453.3 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3303, allocations: 0 / 453.3 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3303, allocations: 0 / 453.3 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.3343, allocations: 2.663 MB / 455.9 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3343, allocations: 0 / 455.9 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.3348, allocations: 103.8 kB / 456 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.335, allocations: 100.9 kB / 456.1 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.3351, allocations: 15.98 kB / 456.1 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.337, allocations: 2.259 MB / 458.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.337, allocations: 4.062 kB / 458.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.3389, allocations: 1.416 MB / 459.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.3392, allocations: 228.1 kB / 460 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.3393, allocations: 23.98 kB / 460.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3397, allocations: 43.89 kB / 460.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3398, allocations: 44.5 kB / 460.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.3399, allocations: 19.98 kB / 460.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.3406, allocations: 0.5536 MB / 460.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.354e-06/0.3406, allocations: 4 kB / 460.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009584/0.3415, allocations: 307.9 kB / 461 MB, free: 11.3 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.0002305/0.3418, allocations: 135.3 kB / 461.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.3432, allocations: 1.002 MB / 462.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3433, allocations: 5.625 kB / 462.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.3441, allocations: 0.5681 MB / 462.7 MB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009141/0.345, allocations: 218.6 kB / 462.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.3493, allocations: 3.205 MB / 466.1 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.3505, allocations: 1.721 MB / 467.9 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004609/0.351, allocations: 203.1 kB / 468.1 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3512, allocations: 63.42 kB / 468.1 MB, free: 4.074 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3512, allocations: 0 / 468.1 MB, free: 4.074 MB / 382.1 MB Notification: Performance of Templates: time 0.02094/0.3721, allocations: 12.46 MB / 480.6 MB, free: 7.762 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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