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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.001771, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 216.3 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] 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.001874/0.001874, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2363, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008887/0.2452, allocations: 6.779 MB / 436.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.2504, allocations: 2.471 MB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.2511, allocations: 27.94 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.2555, allocations: 1.886 MB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.2582, allocations: 0.5511 MB / 441.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.2611, allocations: 1.333 MB / 442.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.2626, allocations: 1.117 MB / 444 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.2637, allocations: 0.7161 MB / 444.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005873/0.2643, allocations: 486.1 kB / 445.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007206/0.265, allocations: 0.6264 MB / 445.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.2652, allocations: 100 kB / 445.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009593/0.2661, allocations: 447.6 kB / 446.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.2663, allocations: 247.1 kB / 446.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000529/0.2668, allocations: 0.5597 MB / 447.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.2688, allocations: 1.659 MB / 448.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2688, allocations: 4 kB / 448.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2688, allocations: 0 / 448.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.2688, allocations: 7.938 kB / 448.8 MB, free: 4.496 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.00639/0.2752, allocations: 2.059 MB / 450.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2752, allocations: 16.03 kB / 450.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.2788, allocations: 491.8 kB / 451.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.2792, allocations: 306.8 kB / 451.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.2793, allocations: 98.89 kB / 451.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.2795, allocations: 132.3 kB / 451.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.282, allocations: 1.3 MB / 453.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.2821, allocations: 4 kB / 453.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.2822, allocations: 52 kB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.2822, allocations: 32 kB / 453.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.2848, allocations: 1.185 MB / 454.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006992/0.2918, allocations: 4.297 MB / 458.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.2945, allocations: 2.35 MB / 461.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/0.2954, allocations: 467.3 kB / 461.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.2957, allocations: 195.2 kB / 461.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.2957, allocations: 51.56 kB / 461.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.886e-06/0.2957, allocations: 0 / 461.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01059/0.3063, allocations: 3.763 MB / 465.6 MB, free: 2.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/0.3064, allocations: 98.11 kB / 465.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.3069, allocations: 389.5 kB / 466 MB, free: 2.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.307, allocations: 45.7 kB / 466.1 MB, free: 2.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.3073, allocations: 468.6 kB / 466.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.3077, allocations: 452.1 kB / 467 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/0.3081, allocations: 227.5 kB / 467.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3083, allocations: 370.8 kB / 467.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3093, allocations: 439.7 kB / 468 MB, free: 472 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.3106, allocations: 0.688 MB / 468.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.313, allocations: 1.183 MB / 469.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.313, allocations: 0 / 469.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003208/0.3162, allocations: 1.467 MB / 471.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3162, allocations: 8 kB / 471.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3163, allocations: 8 kB / 471.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.3169, allocations: 201.5 kB / 471.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.3181, allocations: 287.6 kB / 471.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004825/0.3229, allocations: 4.375 MB / 476.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.3239, allocations: 71.95 kB / 476.3 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.324, allocations: 59.97 kB / 476.3 MB, free: 7.641 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.000494/0.3245, allocations: 269.5 kB / 476.6 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.3246, allocations: 71.58 kB / 476.7 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.3277, allocations: 1.323 MB / 478 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3277, allocations: 16 kB / 478 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3277, allocations: 7.938 kB / 478 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3278, allocations: 3.984 kB / 478 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/0.3326, allocations: 2.602 MB / 480.6 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.3326, allocations: 3.938 kB / 480.6 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009826/0.3336, allocations: 215.9 kB / 480.8 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.3341, allocations: 165.5 kB / 481 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.3342, allocations: 27.98 kB / 481 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.3385, allocations: 4.174 MB / 485.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3385, allocations: 8.375 kB / 485.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.3426, allocations: 1.868 MB / 487.1 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.343, allocations: 232.6 kB / 487.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3431, allocations: 24 kB / 487.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.3438, allocations: 59.89 kB / 487.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.344, allocations: 92.86 kB / 487.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/0.3441, allocations: 35.98 kB / 487.5 MB, free: 12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.3444, allocations: 271.2 kB / 487.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3444, allocations: 0 / 487.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001167/0.3456, allocations: 308 kB / 488.1 MB, free: 11.43 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.0003488/0.346, allocations: 179 kB / 488.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.3491, allocations: 1.395 MB / 489.6 MB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3491, allocations: 0 / 489.6 MB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.3507, allocations: 0.8077 MB / 490.4 MB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.3514, allocations: 74.06 kB / 490.5 MB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.3557, allocations: 1.903 MB / 492.4 MB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.3564, allocations: 1.005 MB / 493.4 MB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006204/0.357, allocations: 146.6 kB / 493.6 MB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.3573, allocations: 75.41 kB / 493.6 MB, free: 5.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.783e-06/0.3573, allocations: 0 / 493.6 MB, free: 5.73 MB / 398.1 MB Notification: Performance of Templates: time 0.02167/0.3789, allocations: 11.03 MB / 0.4928 GB, free: 10.74 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.894979830831289]