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.001216/0.001216, allocations: 110.9 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.42 kB / 306.9 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.0901, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008099/0.09824, allocations: 6.465 MB / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.1028, allocations: 2.609 MB / 366.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006044/0.1034, allocations: 23.94 kB / 366.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.1061, allocations: 1.187 MB / 367.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.1074, allocations: 477.5 kB / 368.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.1095, allocations: 1.218 MB / 369.4 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1107, allocations: 1.024 MB / 370.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.1118, allocations: 0.7917 MB / 371.2 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.1123, allocations: 418.3 kB / 371.6 MB, free: 248 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.181/0.2934, allocations: 0.52 MB / 372.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003396/0.2937, allocations: 68.44 kB / 372.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2949, allocations: 383.2 kB / 372.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.2951, allocations: 205.6 kB / 372.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.2957, allocations: 0.4968 MB / 373.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.2972, allocations: 1.152 MB / 374.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2972, allocations: 2.688 kB / 374.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2972, allocations: 0 / 374.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.2973, allocations: 4.688 kB / 374.4 MB, free: 10.06 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.004367/0.3016, allocations: 1.643 MB / 376.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3017, allocations: 9.625 kB / 376.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.3049, allocations: 498.1 kB / 376.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.3056, allocations: 496.7 kB / 377.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.3057, allocations: 87.58 kB / 377.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.3058, allocations: 115.8 kB / 377.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.3077, allocations: 0.9683 MB / 378.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.3077, allocations: 5.703 kB / 378.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.3078, allocations: 42.38 kB / 378.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.3078, allocations: 27.11 kB / 378.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.3097, allocations: 0.9611 MB / 379.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.3152, allocations: 3.798 MB / 383.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.317, allocations: 1.549 MB / 384.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/0.3177, allocations: 439.3 kB / 385 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.3179, allocations: 181.7 kB / 385.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000886/0.3188, allocations: 476.8 kB / 385.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.705e-06/0.3188, allocations: 1.156 kB / 385.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.008371/0.3271, allocations: 3.991 MB / 389.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3272, allocations: 145.9 kB / 389.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.3277, allocations: 408.9 kB / 390.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.3278, allocations: 47.61 kB / 390.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.328, allocations: 424.7 kB / 390.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.3282, allocations: 418 kB / 391.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.3285, allocations: 219 kB / 391.3 MB, free: 1.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.3286, allocations: 374.3 kB / 391.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.3293, allocations: 355.7 kB / 392 MB, free: 1.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007651/0.3301, allocations: 0.5378 MB / 392.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.3315, allocations: 0.9458 MB / 393.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3315, allocations: 2.719 kB / 393.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002291/0.3338, allocations: 1.377 MB / 394.9 MB, free: 84 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3339, allocations: 6.25 kB / 394.9 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3339, allocations: 9.047 kB / 394.9 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/0.3348, allocations: 356.4 kB / 395.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/0.3356, allocations: 201.8 kB / 395.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/0.3431, allocations: 7.743 MB / 403.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.344, allocations: 46.48 kB / 403.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.3441, allocations: 43.52 kB / 403.3 MB, free: 8.934 MB / 318.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.0004728/0.3446, allocations: 263.7 kB / 403.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3447, allocations: 73.59 kB / 403.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.3471, allocations: 1.31 MB / 404.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3472, allocations: 10.19 kB / 404.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3472, allocations: 8.562 kB / 404.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.3472, allocations: 7.969 kB / 404.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.3512, allocations: 2.548 MB / 407.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3512, allocations: 0 / 407.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/0.3519, allocations: 156.7 kB / 407.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007766/0.3527, allocations: 329.5 kB / 408 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.3528, allocations: 31.92 kB / 408 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006691/0.3595, allocations: 7.426 MB / 415.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3595, allocations: 7.969 kB / 415.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.3628, allocations: 1.825 MB / 417.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.3631, allocations: 216.2 kB / 417.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3632, allocations: 25.5 kB / 417.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.3638, allocations: 43.98 kB / 417.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.364, allocations: 104.1 kB / 417.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/0.364, allocations: 32 kB / 417.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.3643, allocations: 275.2 kB / 417.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3643, allocations: 0 / 417.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001266/0.3656, allocations: 324 kB / 418.2 MB, free: 10.83 MB / 334.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.0003301/0.366, allocations: 168.2 kB / 418.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.3686, allocations: 1.623 MB / 420 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3686, allocations: 0 / 420 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.3702, allocations: 1.147 MB / 421.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.3708, allocations: 78.67 kB / 421.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.3745, allocations: 2.471 MB / 423.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.3752, allocations: 1.032 MB / 424.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.3754, allocations: 67.36 kB / 424.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3754, allocations: 0 / 424.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Templates: time 0.03036/0.4058, allocations: 26.56 MB / 451.4 MB, free: 9.578 MB / 366.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