Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001626/0.001626, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001619/0.001619, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.371/1.371, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 47.17 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09849, allocations: 49.44 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008385/0.1069, allocations: 6.448 MB / 357.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.1115, allocations: 2.55 MB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008413/0.1123, allocations: 16 kB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.1155, allocations: 1.275 MB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.1175, allocations: 0.6913 MB / 361.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.1198, allocations: 1.093 MB / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.1213, allocations: 1.059 MB / 363.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.1229, allocations: 0.9111 MB / 364.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/0.1236, allocations: 438.4 kB / 365.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.1245, allocations: 0.5406 MB / 365.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002707/0.1248, allocations: 96 kB / 365.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1259, allocations: 415.6 kB / 366.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.1262, allocations: 231.2 kB / 366.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007199/0.1269, allocations: 0.5209 MB / 367 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.1289, allocations: 1.483 MB / 368.5 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1289, allocations: 0 / 368.5 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.129, allocations: 0 / 368.5 MB, free: 2.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.898e-05/0.129, allocations: 0 / 368.5 MB, free: 2.594 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005014/0.134, allocations: 1.636 MB / 370.1 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1341, allocations: 15.89 kB / 370.1 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/0.1373, allocations: 475.3 kB / 370.6 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1708/0.3082, allocations: 489.9 kB / 371.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.3084, allocations: 85.62 kB / 371.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.3088, allocations: 111.6 kB / 371.3 MB, free: 25.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.3116, allocations: 0.9714 MB / 372.2 MB, free: 25.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.3116, allocations: 0.8125 kB / 372.2 MB, free: 25.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.3118, allocations: 45.78 kB / 372.3 MB, free: 24.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/0.3118, allocations: 27.25 kB / 372.3 MB, free: 24.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.314, allocations: 0.9609 MB / 373.3 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/0.3197, allocations: 3.697 MB / 377 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.3215, allocations: 1.549 MB / 378.5 MB, free: 21.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007569/0.3223, allocations: 439.6 kB / 378.9 MB, free: 21.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.854e-05/0.3224, allocations: 104 kB / 379 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000839/0.3232, allocations: 470.3 kB / 379.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.705e-06/0.3232, allocations: 1.281 kB / 379.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009087/0.3323, allocations: 3.996 MB / 383.5 MB, free: 18.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.3324, allocations: 147.2 kB / 383.6 MB, free: 18.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.3329, allocations: 394.4 kB / 384 MB, free: 18.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.333, allocations: 47.08 kB / 384.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.3332, allocations: 414.2 kB / 384.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.3335, allocations: 427.7 kB / 384.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.3338, allocations: 201.3 kB / 385.1 MB, free: 17.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3339, allocations: 374.7 kB / 385.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/0.3346, allocations: 361.5 kB / 385.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.3354, allocations: 0.5421 MB / 386.4 MB, free: 16.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.3369, allocations: 0.9413 MB / 387.3 MB, free: 16.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3369, allocations: 5.25 kB / 387.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002592/0.3395, allocations: 1.387 MB / 388.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3396, allocations: 11.64 kB / 388.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3396, allocations: 7.469 kB / 388.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008983/0.3405, allocations: 350.8 kB / 389 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/0.3413, allocations: 204 kB / 389.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.3475, allocations: 8.482 MB / 397.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008064/0.3484, allocations: 45.61 kB / 397.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.3484, allocations: 45 kB / 397.8 MB, free: 8.219 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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.0004324/0.3489, allocations: 266.9 kB / 398.1 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.349, allocations: 70.62 kB / 398.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.3513, allocations: 1.312 MB / 399.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3514, allocations: 15.81 kB / 399.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3514, allocations: 7.938 kB / 399.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.3514, allocations: 7.359 kB / 399.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.3549, allocations: 2.531 MB / 402 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.3549, allocations: 0 / 402 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.3556, allocations: 154.8 kB / 402.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.3563, allocations: 326.6 kB / 402.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.3563, allocations: 27.98 kB / 402.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/0.3628, allocations: 8.126 MB / 410.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3629, allocations: 4 kB / 410.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/0.3663, allocations: 1.823 MB / 412.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.3667, allocations: 216.2 kB / 412.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3668, allocations: 31.92 kB / 412.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.3673, allocations: 43.92 kB / 412.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.3675, allocations: 92.86 kB / 412.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/0.3676, allocations: 40 kB / 412.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.368, allocations: 267.2 kB / 413.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.368, allocations: 0 / 413.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001365/0.3693, allocations: 319.9 kB / 413.5 MB, free: 9.543 MB / 318.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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * 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.0003657/0.3697, allocations: 164.3 kB / 413.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003643/0.3734, allocations: 1.654 MB / 415.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.3734, allocations: 0 / 415.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.3752, allocations: 1.155 MB / 416.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.3759, allocations: 70.41 kB / 416.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.3801, allocations: 1.988 MB / 418.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.3809, allocations: 1.024 MB / 419.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.3812, allocations: 63.42 kB / 419.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3812, allocations: 0 / 419.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of Templates: time 0.0318/0.413, allocations: 26.21 MB / 445.8 MB, free: 9.016 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches