Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.00141, allocations: 109.3 kB / 18.37 MB, free: 4.691 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.001529/0.001529, allocations: 183 kB / 19.3 MB, free: 3.773 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.396/1.396, 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.001245/0.001245, allocations: 51.92 kB / 329.1 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1003, allocations: 46.63 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2309/0.3312, allocations: 6.435 MB / 382.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.3363, allocations: 2.594 MB / 384.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.3371, allocations: 18.41 kB / 384.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002946/0.3401, allocations: 1.285 MB / 386.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.3423, allocations: 0.7026 MB / 386.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.3446, allocations: 1.104 MB / 387.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.3463, allocations: 1.093 MB / 389 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.3477, allocations: 0.9067 MB / 389.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007746/0.3484, allocations: 451.2 kB / 390.3 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.3492, allocations: 0.5544 MB / 390.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.3494, allocations: 98.62 kB / 391 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.3506, allocations: 412.7 kB / 391.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.3508, allocations: 238.2 kB / 391.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005589/0.3514, allocations: 0.5299 MB / 392.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.3537, allocations: 1.519 MB / 393.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3537, allocations: 1.156 kB / 393.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3537, allocations: 0 / 393.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.3537, allocations: 0 / 393.7 MB, free: 4.461 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004813/0.3586, allocations: 1.65 MB / 395.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3586, allocations: 9.625 kB / 395.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/0.3626, allocations: 0.5748 MB / 395.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.3636, allocations: 0.492 MB / 396.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.3637, allocations: 86.05 kB / 396.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.3639, allocations: 120 kB / 396.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.366, allocations: 1.015 MB / 397.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.366, allocations: 2.094 kB / 397.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.3661, allocations: 45.06 kB / 397.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.3662, allocations: 27.28 kB / 397.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.3683, allocations: 1.033 MB / 398.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.3746, allocations: 3.833 MB / 402.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.3771, allocations: 2.056 MB / 404.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.378, allocations: 450.2 kB / 405.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.3781, allocations: 104 kB / 405.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009399/0.3791, allocations: 490.6 kB / 405.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.695e-06/0.3791, allocations: 0 / 405.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.01035/0.3895, allocations: 4.025 MB / 409.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.3896, allocations: 142.8 kB / 409.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.3904, allocations: 413.7 kB / 410.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.774e-05/0.3905, allocations: 46.86 kB / 410.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.3909, allocations: 445.2 kB / 410.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.3914, allocations: 432.1 kB / 411.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/0.3918, allocations: 213.5 kB / 411.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.392, allocations: 381.1 kB / 411.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/0.3928, allocations: 362.8 kB / 412 MB, free: 8.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009736/0.3937, allocations: 0.5884 MB / 412.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.3956, allocations: 1.006 MB / 413.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.3956, allocations: 0 / 413.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002887/0.3985, allocations: 1.433 MB / 415.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.3985, allocations: 12.23 kB / 415.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.3985, allocations: 5.5 kB / 415.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009688/0.3995, allocations: 357.9 kB / 415.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.4004, allocations: 217.6 kB / 415.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008378/0.4088, allocations: 8.482 MB / 424.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009946/0.4099, allocations: 51.97 kB / 424.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.41, allocations: 44 kB / 424.2 MB, free: 13.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007129/0.4108, allocations: 261.7 kB / 424.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.411, allocations: 83.05 kB / 424.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.4137, allocations: 1.321 MB / 425.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4137, allocations: 12 kB / 425.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/0.4138, allocations: 11.94 kB / 425.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4138, allocations: 7.922 kB / 425.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004696/0.4185, allocations: 2.565 MB / 428.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.4185, allocations: 8.031 kB / 428.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.4192, allocations: 151.8 kB / 428.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000807/0.42, allocations: 323.1 kB / 429 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.4201, allocations: 32 kB / 429 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007538/0.4277, allocations: 8.1 MB / 437.1 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.4277, allocations: 7.969 kB / 437.1 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.4313, allocations: 1.837 MB / 438.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.4318, allocations: 228.1 kB / 439.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.432, allocations: 27.98 kB / 439.2 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.4326, allocations: 39.98 kB / 439.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.4328, allocations: 92.81 kB / 439.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.4329, allocations: 39.98 kB / 439.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003724/0.4333, allocations: 283.2 kB / 439.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4333, allocations: 0 / 439.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001655/0.435, allocations: 320 kB / 439.9 MB, free: 13.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003853/0.4354, allocations: 171.1 kB / 440.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.4385, allocations: 1.647 MB / 441.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.4385, allocations: 0 / 441.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.4404, allocations: 1.159 MB / 442.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.4412, allocations: 73.55 kB / 443 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.4456, allocations: 2.019 MB / 445 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.4465, allocations: 1.028 MB / 446 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.4468, allocations: 67.42 kB / 446.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4468, allocations: 0 / 446.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of Templates: time 0.03186/0.4786, allocations: 26.74 MB / 472.8 MB, free: 12.08 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches