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.001056/0.001056, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 64.77 kB / 306.9 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08873, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007217/0.09597, allocations: 6.487 MB / 364 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.09999, allocations: 2.632 MB / 366.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.1004, allocations: 23.94 kB / 366.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.1029, allocations: 1.271 MB / 367.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.1041, allocations: 0.524 MB / 368.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.1061, allocations: 1.265 MB / 369.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009012/0.107, allocations: 1.071 MB / 370.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1576/0.2646, allocations: 0.8998 MB / 371.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009909/0.2657, allocations: 445.3 kB / 372.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.2668, allocations: 0.541 MB / 372.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.2672, allocations: 96.62 kB / 372.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.2686, allocations: 423 kB / 373.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.269, allocations: 232.7 kB / 373.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008166/0.2698, allocations: 0.5182 MB / 373.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.2725, allocations: 1.507 MB / 375.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2725, allocations: 3.281 kB / 375.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2725, allocations: 1.281 kB / 375.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.632e-05/0.2726, allocations: 3.938 kB / 375.4 MB, free: 9.121 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.005245/0.2779, allocations: 1.644 MB / 377 MB, free: 8.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2779, allocations: 14 kB / 377 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.2813, allocations: 490.3 kB / 377.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.2821, allocations: 0.4944 MB / 378 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.648e-05/0.2822, allocations: 85.05 kB / 378.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.2825, allocations: 113.2 kB / 378.2 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.2846, allocations: 0.9664 MB / 379.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/0.2847, allocations: 5.078 kB / 379.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.2848, allocations: 41.97 kB / 379.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.2848, allocations: 27.22 kB / 379.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.287, allocations: 0.9666 MB / 380.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007382/0.2944, allocations: 3.79 MB / 384 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.2964, allocations: 1.552 MB / 385.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/0.2973, allocations: 437 kB / 386 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.2974, allocations: 184.9 kB / 386.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008857/0.2983, allocations: 473.4 kB / 386.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 5.32e-06/0.2984, allocations: 0 / 386.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009626/0.308, allocations: 3.992 MB / 390.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.3081, allocations: 158.2 kB / 390.8 MB, free: 1.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.3087, allocations: 408 kB / 391.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.3088, allocations: 47.27 kB / 391.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.3091, allocations: 423.6 kB / 391.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.3093, allocations: 418.2 kB / 392 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.3096, allocations: 208.1 kB / 392.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.3097, allocations: 375.6 kB / 392.6 MB, free: 404 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.3105, allocations: 357.2 kB / 393 MB, free: 268 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008945/0.3114, allocations: 0.5447 MB / 393.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.3132, allocations: 0.9373 MB / 394.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.3133, allocations: 1.062 kB / 394.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002882/0.3161, allocations: 1.384 MB / 395.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3162, allocations: 6.469 kB / 395.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.3162, allocations: 11.81 kB / 395.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/0.3172, allocations: 357.2 kB / 396.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.3181, allocations: 202.6 kB / 396.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009025/0.3271, allocations: 8.488 MB / 404.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/0.3281, allocations: 47.95 kB / 404.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.3283, allocations: 47.11 kB / 405 MB, free: 7.039 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.0006126/0.3289, allocations: 265.2 kB / 405.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.3291, allocations: 83.19 kB / 405.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.3318, allocations: 1.303 MB / 406.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.3318, allocations: 15.72 kB / 406.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/0.3319, allocations: 7.5 kB / 406.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.3319, allocations: 7.969 kB / 406.6 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/0.3369, allocations: 2.542 MB / 409.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3369, allocations: 0 / 409.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/0.3376, allocations: 161.2 kB / 409.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008989/0.3385, allocations: 328.4 kB / 409.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.3386, allocations: 28 kB / 409.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008336/0.347, allocations: 8.111 MB / 417.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.347, allocations: 3.375 kB / 417.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.3511, allocations: 1.825 MB / 419.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.3516, allocations: 220.3 kB / 419.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3518, allocations: 32 kB / 419.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.3525, allocations: 35.98 kB / 419.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.3528, allocations: 100.2 kB / 420 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.3528, allocations: 39.98 kB / 420.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003501/0.3532, allocations: 275.2 kB / 420.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3532, allocations: 4 kB / 420.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001521/0.3547, allocations: 316 kB / 420.6 MB, free: 7.543 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.0003542/0.3551, allocations: 183.1 kB / 420.8 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003607/0.3587, allocations: 1.652 MB / 422.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3587, allocations: 4 kB / 422.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.3606, allocations: 1.141 MB / 423.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.3613, allocations: 81.42 kB / 423.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.3653, allocations: 1.96 MB / 425.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/0.3662, allocations: 1.021 MB / 426.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005403/0.3668, allocations: 106.1 kB / 426.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3669, allocations: 59.42 kB / 426.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3669, allocations: 0 / 426.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Templates: time 0.02184/0.3888, allocations: 11.14 MB / 438 MB, free: 6.152 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/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