Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002245, allocations: 216.4 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.2 MB / 256.8 MB, free: 8.648 MB / 206.1 MB [Timeout remaining time 88] 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.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.89 kB / 376.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2667, allocations: 53.32 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008782/0.2754, allocations: 6.744 MB / 437 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005264/0.2807, allocations: 2.475 MB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006453/0.2813, allocations: 24 kB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.2857, allocations: 1.886 MB / 441.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.2876, allocations: 0.5511 MB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.2905, allocations: 1.326 MB / 443.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.2925, allocations: 1.121 MB / 444.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.2941, allocations: 0.714 MB / 445.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.2951, allocations: 494.1 kB / 445.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.2963, allocations: 0.6147 MB / 446.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003552/0.2967, allocations: 100 kB / 446.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.2981, allocations: 443.7 kB / 446.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.2984, allocations: 247.1 kB / 446.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006896/0.299, allocations: 0.5597 MB / 447.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.3016, allocations: 1.669 MB / 449.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3016, allocations: 4 kB / 449.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3016, allocations: 0 / 449.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.3016, allocations: 4 kB / 449.2 MB, free: 4.605 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006412/0.3081, allocations: 2.055 MB / 451.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3081, allocations: 8.031 kB / 451.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.3116, allocations: 495.8 kB / 451.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.3121, allocations: 314.7 kB / 452 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.3122, allocations: 94.95 kB / 452.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.3125, allocations: 132.3 kB / 452.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.3151, allocations: 1.303 MB / 453.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.3152, allocations: 3.984 kB / 453.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.3153, allocations: 56 kB / 453.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.3153, allocations: 35.94 kB / 453.6 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.3179, allocations: 1.181 MB / 454.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.3255, allocations: 4.293 MB / 459.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.3284, allocations: 2.346 MB / 461.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009959/0.3294, allocations: 462.7 kB / 461.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.3296, allocations: 203.1 kB / 462.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.3297, allocations: 43.56 kB / 462.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.166e-06/0.3297, allocations: 4 kB / 462.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.0108/0.3405, allocations: 3.775 MB / 465.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.3405, allocations: 90.11 kB / 466 MB, free: 2.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.3411, allocations: 393.5 kB / 466.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/0.3411, allocations: 45.7 kB / 466.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.3415, allocations: 464.6 kB / 466.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.3419, allocations: 444.1 kB / 467.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.3422, allocations: 231.5 kB / 467.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3424, allocations: 374.8 kB / 467.9 MB, free: 1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3435, allocations: 435.8 kB / 468.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.3448, allocations: 0.6918 MB / 469 MB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.3471, allocations: 1.179 MB / 470.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3471, allocations: 0 / 470.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003177/0.3503, allocations: 1.467 MB / 471.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3503, allocations: 8 kB / 471.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.3504, allocations: 11.98 kB / 471.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.351, allocations: 201.5 kB / 471.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.3522, allocations: 283.6 kB / 472.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.3571, allocations: 4.383 MB / 476.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/0.358, allocations: 75.89 kB / 476.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.3581, allocations: 55.98 kB / 476.7 MB, free: 7.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004834/0.3586, allocations: 261.6 kB / 476.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.3588, allocations: 79.5 kB / 477 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.362, allocations: 1.323 MB / 478.3 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.362, allocations: 12 kB / 478.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.362, allocations: 7.938 kB / 478.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.362, allocations: 11.97 kB / 478.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/0.3671, allocations: 2.598 MB / 481 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3671, allocations: 7.938 kB / 481 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/0.3681, allocations: 207.9 kB / 481.2 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/0.3686, allocations: 173.5 kB / 481.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.3687, allocations: 27.98 kB / 481.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.3731, allocations: 4.185 MB / 485.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3731, allocations: 3.938 kB / 485.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.3772, allocations: 1.865 MB / 487.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.3776, allocations: 236.5 kB / 487.7 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.3777, allocations: 20 kB / 487.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.3784, allocations: 55.95 kB / 487.7 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.3786, allocations: 96.92 kB / 487.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.3787, allocations: 35.98 kB / 487.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003775/0.3791, allocations: 267.2 kB / 488.1 MB, free: 11.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3791, allocations: 0 / 488.1 MB, free: 11.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001269/0.3803, allocations: 300 kB / 488.4 MB, free: 11.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00036/0.3807, allocations: 182.9 kB / 488.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.3839, allocations: 1.395 MB / 490 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3839, allocations: 192 / 490 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.3855, allocations: 0.8117 MB / 490.8 MB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.3861, allocations: 73.48 kB / 490.9 MB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.3909, allocations: 1.936 MB / 492.8 MB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008347/0.3917, allocations: 1.009 MB / 493.8 MB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.3921, allocations: 99.39 kB / 493.9 MB, free: 5.918 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3921, allocations: 0 / 493.9 MB, free: 5.918 MB / 398.1 MB Notification: Performance of Templates: time 0.0288/0.4209, allocations: 20.21 MB / 0.5021 GB, free: 1.699 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches