Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 53.36 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005045/0.232, allocations: 3.24 MB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2337, allocations: 0.923 MB / 436.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.2338, allocations: 4 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.2341, allocations: 95.09 kB / 436.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.2345, allocations: 174.4 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.2349, allocations: 171.7 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.2355, allocations: 0.627 MB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.2358, allocations: 146 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.2361, allocations: 243.1 kB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.2364, allocations: 274.7 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.2365, allocations: 52 kB / 438.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.2365, allocations: 56 kB / 438.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2367, allocations: 127.5 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.2369, allocations: 238.8 kB / 438.7 MB, free: 400 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.2375, allocations: 0.6409 MB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2376, allocations: 0 / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2376, allocations: 0 / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2376, allocations: 3.938 kB / 439.3 MB, free: 15.74 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00162/0.2392, allocations: 0.7972 MB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2392, allocations: 8.031 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2393, allocations: 68.52 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.2399, allocations: 302.1 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.2399, allocations: 37.69 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.24, allocations: 52.38 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.2409, allocations: 438.4 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2409, allocations: 0 / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.241, allocations: 20 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.241, allocations: 12 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.2419, allocations: 401 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.2444, allocations: 1.254 MB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.2451, allocations: 307.6 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.2455, allocations: 161.4 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.2456, allocations: 8.312 kB / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2456, allocations: 34.89 kB / 443.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.774e-06/0.2456, allocations: 0 / 443.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003489/0.2491, allocations: 1.195 MB / 444.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2491, allocations: 59.89 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.2496, allocations: 405.5 kB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2496, allocations: 33.7 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.2499, allocations: 312.6 kB / 445.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.25, allocations: 206.3 kB / 445.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.2502, allocations: 114.3 kB / 445.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2504, allocations: 358.7 kB / 445.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.2508, allocations: 177.2 kB / 446 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/0.2514, allocations: 299.2 kB / 446.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009771/0.2524, allocations: 500 kB / 446.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2524, allocations: 0 / 446.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001551/0.2539, allocations: 0.7286 MB / 447.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2539, allocations: 15.88 kB / 447.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.2539, allocations: 16.22 kB / 447.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.2545, allocations: 172.6 kB / 447.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.255, allocations: 119.8 kB / 447.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.2595, allocations: 3.978 MB / 451.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.2599, allocations: 35.88 kB / 451.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.2599, allocations: 28.11 kB / 451.9 MB, free: 2.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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.0002372/0.2602, allocations: 180 kB / 452 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.2602, allocations: 47.66 kB / 452.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.2604, allocations: 61.03 kB / 452.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.2604, allocations: 4 kB / 452.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.2604, allocations: 7.984 kB / 452.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.2604, allocations: 7.922 kB / 452.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.2627, allocations: 1.135 MB / 453.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2627, allocations: 7.938 kB / 453.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.2631, allocations: 59.95 kB / 453.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.2635, allocations: 173.5 kB / 453.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.2636, allocations: 12 kB / 453.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/0.2675, allocations: 3.803 MB / 457.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2675, allocations: 12 kB / 457.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.2688, allocations: 0.6923 MB / 458.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.2689, allocations: 51.66 kB / 458.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.269, allocations: 8 kB / 458.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.2693, allocations: 19.98 kB / 458.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2694, allocations: 52.39 kB / 458.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.2694, allocations: 19.94 kB / 458.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003261/0.2697, allocations: 275.2 kB / 458.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2697, allocations: 0 / 458.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007016/0.2704, allocations: 152 kB / 458.6 MB, free: 11.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.0001326/0.2706, allocations: 111.1 kB / 458.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.2721, allocations: 0.7651 MB / 459.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2721, allocations: 0 / 459.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.273, allocations: 0.5123 MB / 460 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.2734, allocations: 45.48 kB / 460.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.2752, allocations: 0.9632 MB / 461 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.2755, allocations: 263 kB / 461.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.2757, allocations: 48.19 kB / 461.3 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/0.2758, allocations: 31.44 kB / 461.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2758, allocations: 0 / 461.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01187/0.2876, allocations: 5.897 MB / 467.2 MB, free: 2.891 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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.521730488995672]