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.001133/0.001133, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 57.75 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08715, allocations: 50.54 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007255/0.09444, allocations: 6.484 MB / 365.4 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.09847, allocations: 2.636 MB / 368 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.0989, allocations: 23.94 kB / 368 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.1016, allocations: 1.271 MB / 369.3 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1029, allocations: 0.5312 MB / 369.8 MB, free: 2.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.1051, allocations: 1.253 MB / 371.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1061, allocations: 1.083 MB / 372.2 MB, free: 36 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1479/0.2541, allocations: 0.894 MB / 373.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.2547, allocations: 447.9 kB / 373.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.2553, allocations: 0.5408 MB / 374.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.2555, allocations: 96.53 kB / 374.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008421/0.2563, allocations: 421.5 kB / 374.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.2565, allocations: 236.5 kB / 374.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.257, allocations: 0.5172 MB / 375.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.2586, allocations: 1.527 MB / 376.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2586, allocations: 0 / 376.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2586, allocations: 0 / 376.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.2586, allocations: 0 / 376.8 MB, free: 9.41 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.004073/0.2627, allocations: 1.648 MB / 378.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2628, allocations: 12.09 kB / 378.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.2661, allocations: 492 kB / 379 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.2668, allocations: 0.4907 MB / 379.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.2668, allocations: 86.03 kB / 379.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.267, allocations: 111.7 kB / 379.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.2687, allocations: 0.9716 MB / 380.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.2688, allocations: 2.984 kB / 380.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.2689, allocations: 46.31 kB / 380.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.2689, allocations: 26.53 kB / 380.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.2706, allocations: 0.9607 MB / 381.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.2761, allocations: 3.774 MB / 385.4 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.2778, allocations: 1.547 MB / 387 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/0.2785, allocations: 439.1 kB / 387.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.2787, allocations: 179.6 kB / 387.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.2795, allocations: 480.5 kB / 388.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.385e-06/0.2795, allocations: 0 / 388.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.008497/0.288, allocations: 3.985 MB / 392 MB, free: 1.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.2881, allocations: 153.8 kB / 392.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.2885, allocations: 407.9 kB / 392.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.2886, allocations: 47.2 kB / 392.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.2888, allocations: 428 kB / 393.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.2891, allocations: 424.8 kB / 393.5 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.2894, allocations: 206.8 kB / 393.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.2895, allocations: 377.9 kB / 394 MB, free: 296 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.2901, allocations: 363.9 kB / 394.4 MB, free: 160 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008305/0.291, allocations: 0.5366 MB / 394.9 MB, free: 15.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.2926, allocations: 0.9415 MB / 395.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2926, allocations: 1.219 kB / 395.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002699/0.2953, allocations: 1.387 MB / 397.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2954, allocations: 7.594 kB / 397.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2954, allocations: 5 kB / 397.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008616/0.2963, allocations: 355.9 kB / 397.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.2971, allocations: 200.4 kB / 397.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/0.305, allocations: 8.484 MB / 406.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.3061, allocations: 45.36 kB / 406.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.763e-05/0.3062, allocations: 49.2 kB / 406.4 MB, free: 6.895 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.0005575/0.3067, allocations: 256.5 kB / 406.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3069, allocations: 80.11 kB / 406.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.3093, allocations: 1.299 MB / 408 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3094, allocations: 17.73 kB / 408 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3094, allocations: 8 kB / 408 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3094, allocations: 7.969 kB / 408.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.3135, allocations: 2.523 MB / 410.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3135, allocations: 4 kB / 410.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.3142, allocations: 159.9 kB / 410.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007821/0.315, allocations: 318 kB / 411 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.3151, allocations: 32 kB / 411.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/0.3223, allocations: 8.109 MB / 419.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3223, allocations: 7.938 kB / 419.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.3255, allocations: 1.83 MB / 421 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.3259, allocations: 220.4 kB / 421.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.326, allocations: 31.28 kB / 421.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.3266, allocations: 39.98 kB / 421.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.3268, allocations: 100.8 kB / 421.4 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.3269, allocations: 35.98 kB / 421.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.3272, allocations: 279.2 kB / 421.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3272, allocations: 0 / 421.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001219/0.3284, allocations: 320 kB / 422 MB, free: 7.125 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.0003017/0.3287, allocations: 177.2 kB / 422.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.3314, allocations: 1.628 MB / 423.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3314, allocations: 0 / 423.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.333, allocations: 1.137 MB / 425 MB, free: 4.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.3336, allocations: 76.22 kB / 425 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.337, allocations: 1.947 MB / 427 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.3376, allocations: 1.021 MB / 428 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004348/0.3381, allocations: 102.2 kB / 428.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3382, allocations: 55.42 kB / 428.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3382, allocations: 3.938 kB / 428.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of Templates: time 0.01891/0.3572, allocations: 11.04 MB / 439.2 MB, free: 5.895 MB / 350.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 -s gbode -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