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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2293, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007375/0.2367, allocations: 6.491 MB / 416.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004209/0.241, allocations: 2.636 MB / 419.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.2415, allocations: 20 kB / 419.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.2443, allocations: 1.275 MB / 420.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.2458, allocations: 0.5279 MB / 420.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.2481, allocations: 1.253 MB / 422.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2495, allocations: 1.079 MB / 423.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.2507, allocations: 0.9029 MB / 424.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004986/0.2512, allocations: 442.4 kB / 424.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.2518, allocations: 0.5523 MB / 425.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.252, allocations: 96 kB / 425.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.2528, allocations: 423.6 kB / 425.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.253, allocations: 231.2 kB / 425.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.2534, allocations: 0.5248 MB / 426.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.255, allocations: 1.52 MB / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.255, allocations: 0 / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2551, allocations: 0 / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.2551, allocations: 0 / 427.9 MB, free: 15.55 MB / 350.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.004118/0.2592, allocations: 1.644 MB / 429.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2592, allocations: 8.031 kB / 429.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/0.2625, allocations: 495.2 kB / 430 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.2632, allocations: 498.2 kB / 430.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.2633, allocations: 86.22 kB / 430.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.2634, allocations: 119.9 kB / 430.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.2652, allocations: 0.9628 MB / 431.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.2653, allocations: 4 kB / 431.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.2654, allocations: 44 kB / 431.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.2654, allocations: 31.94 kB / 431.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.2672, allocations: 0.9691 MB / 432.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00547/0.2727, allocations: 3.752 MB / 436.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.2746, allocations: 1.549 MB / 438 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.2754, allocations: 442.5 kB / 438.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.2756, allocations: 187.3 kB / 438.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008481/0.2765, allocations: 470.5 kB / 439.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.965e-06/0.2765, allocations: 0 / 439.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008974/0.2855, allocations: 4.001 MB / 443.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.2856, allocations: 145.5 kB / 443.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.286, allocations: 401.5 kB / 443.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/0.2861, allocations: 49.7 kB / 443.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.2864, allocations: 435.6 kB / 444.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.2867, allocations: 413.9 kB / 444.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.287, allocations: 206.8 kB / 444.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2872, allocations: 378.8 kB / 445.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/0.2879, allocations: 358.5 kB / 445.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.2887, allocations: 0.539 MB / 446 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.2903, allocations: 0.95 MB / 446.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2903, allocations: 0 / 446.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002539/0.2929, allocations: 1.39 MB / 448.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2929, allocations: 8 kB / 448.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2929, allocations: 4 kB / 448.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008728/0.2938, allocations: 351.1 kB / 448.6 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.2946, allocations: 203.7 kB / 448.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.3025, allocations: 8.487 MB / 457.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/0.3033, allocations: 44.11 kB / 457.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.3034, allocations: 48 kB / 457.4 MB, free: 0.5156 MB / 366.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.0004552/0.3038, allocations: 269.6 kB / 457.7 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.304, allocations: 75.06 kB / 457.8 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.3066, allocations: 1.309 MB / 459.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3066, allocations: 12 kB / 459.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.3066, allocations: 8 kB / 459.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.3066, allocations: 3.984 kB / 459.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.3109, allocations: 2.529 MB / 461.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3109, allocations: 4 kB / 461.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.3116, allocations: 156 kB / 461.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007986/0.3124, allocations: 326.2 kB / 462.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.3125, allocations: 27.98 kB / 462.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007567/0.32, allocations: 8.112 MB / 470.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3201, allocations: 0 / 470.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.3233, allocations: 1.829 MB / 472.1 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.3237, allocations: 220.2 kB / 472.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3238, allocations: 35.94 kB / 472.3 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.3243, allocations: 35.98 kB / 472.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.3245, allocations: 96.8 kB / 472.4 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.3246, allocations: 36 kB / 472.5 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.3249, allocations: 275.2 kB / 472.7 MB, free: 456 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3249, allocations: 7.938 kB / 472.8 MB, free: 448 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001114/0.326, allocations: 320 kB / 473.1 MB, free: 128 kB / 382.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.0003095/0.3263, allocations: 175 kB / 473.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.329, allocations: 1.612 MB / 474.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.329, allocations: 0 / 474.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.3307, allocations: 1.155 MB / 476 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.3312, allocations: 77.48 kB / 476.1 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.3346, allocations: 1.979 MB / 478.1 MB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.3353, allocations: 1.021 MB / 479.1 MB, free: 9.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.3355, allocations: 67.42 kB / 479.1 MB, free: 9.855 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3355, allocations: 0 / 479.1 MB, free: 9.855 MB / 398.1 MB Notification: Performance of Templates: time 0.02802/0.3636, allocations: 26.65 MB / 0.4939 GB, free: 15.14 MB / 430.1 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/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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches