Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002224/0.002224, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009997/0.0009997, allocations: 110.6 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008895/0.0008896, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2107, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005966/0.2167, allocations: 6.463 MB / 413.5 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.2201, allocations: 2.58 MB / 416.1 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.2206, allocations: 23.94 kB / 416.1 MB, free: 18.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.2228, allocations: 1.183 MB / 417.3 MB, free: 17.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009993/0.2238, allocations: 482.4 kB / 417.8 MB, free: 17.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.2256, allocations: 1.215 MB / 419 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.2265, allocations: 1.04 MB / 420 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2275, allocations: 0.789 MB / 420.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.228, allocations: 414.4 kB / 421.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.2285, allocations: 0.5328 MB / 421.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.2286, allocations: 68 kB / 421.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.2293, allocations: 383.6 kB / 422.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2294, allocations: 203.2 kB / 422.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.2297, allocations: 0.4974 MB / 422.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.2309, allocations: 1.476 MB / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2309, allocations: 0 / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2309, allocations: 0 / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.216e-05/0.2309, allocations: 0 / 424.4 MB, free: 10.43 MB / 298.7 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.003977/0.2349, allocations: 1.647 MB / 426 MB, free: 8.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2349, allocations: 15.97 kB / 426 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.2379, allocations: 491.2 kB / 426.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.2385, allocations: 490.2 kB / 427 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.2385, allocations: 86.22 kB / 427.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.2386, allocations: 111.9 kB / 427.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.2401, allocations: 0.9706 MB / 428.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.2402, allocations: 0 / 428.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.2403, allocations: 48 kB / 428.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.2403, allocations: 28 kB / 428.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.2418, allocations: 0.9574 MB / 429.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/0.2464, allocations: 3.787 MB / 433 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.248, allocations: 1.564 MB / 434.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/0.2487, allocations: 428.4 kB / 434.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.2489, allocations: 187.2 kB / 435.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008123/0.2498, allocations: 474.5 kB / 435.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.425e-06/0.2498, allocations: 0 / 435.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.00883/0.2586, allocations: 3.993 MB / 439.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.2587, allocations: 141.5 kB / 439.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.2592, allocations: 405.5 kB / 440.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.2592, allocations: 49.7 kB / 440.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.2595, allocations: 423.7 kB / 440.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.2598, allocations: 421.8 kB / 441 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.2601, allocations: 206.9 kB / 441.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2602, allocations: 378.8 kB / 441.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.2609, allocations: 358.5 kB / 441.9 MB, free: 8.086 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.2617, allocations: 0.5395 MB / 442.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.2633, allocations: 0.946 MB / 443.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2633, allocations: 0 / 443.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003031/0.2664, allocations: 1.386 MB / 444.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.2664, allocations: 6.812 kB / 444.8 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2664, allocations: 4 kB / 444.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.2675, allocations: 357.5 kB / 445.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.2684, allocations: 203.7 kB / 445.3 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/0.2757, allocations: 7.74 MB / 453.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.2764, allocations: 47.89 kB / 453.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.2765, allocations: 40 kB / 453.2 MB, free: 12.15 MB / 330.7 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.0004197/0.2769, allocations: 275 kB / 453.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.277, allocations: 71.16 kB / 453.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.2796, allocations: 1.305 MB / 454.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.2796, allocations: 12 kB / 454.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2796, allocations: 8 kB / 454.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2796, allocations: 3.984 kB / 454.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.2837, allocations: 2.543 MB / 457.4 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.2837, allocations: 8 kB / 457.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.2843, allocations: 151.7 kB / 457.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007927/0.2851, allocations: 330.3 kB / 457.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.2852, allocations: 31.97 kB / 457.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.2919, allocations: 7.428 MB / 465.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2919, allocations: 4 kB / 465.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007051/0.299, allocations: 5.438 MB / 470.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.2993, allocations: 220.2 kB / 471 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.2994, allocations: 24 kB / 471 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.2999, allocations: 39.92 kB / 471 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.3001, allocations: 108.8 kB / 471.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.3002, allocations: 36 kB / 471.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.3004, allocations: 271.2 kB / 471.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3004, allocations: 0 / 471.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001184/0.3016, allocations: 360.1 kB / 471.8 MB, free: 8.535 MB / 346.7 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.0002699/0.3019, allocations: 171 kB / 472 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.3044, allocations: 1.609 MB / 473.6 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3044, allocations: 0 / 473.6 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.306, allocations: 1.146 MB / 474.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.3065, allocations: 87.97 kB / 474.8 MB, free: 5.422 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.3105, allocations: 3.169 MB / 478 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.3111, allocations: 1.062 MB / 479 MB, free: 1.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005058/0.3116, allocations: 106.2 kB / 479.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3118, allocations: 51.42 kB / 479.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3118, allocations: 0 / 479.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of Templates: time 0.01812/0.33, allocations: 11.51 MB / 490.7 MB, free: 5.438 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches