Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001765/0.001765, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002101/0.002101, allocations: 215.4 kB / 24.48 MB, free: 3.941 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 2.453/2.453, allocations: 230.6 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 177] 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 47.92 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.01038/0.3566, allocations: 5.954 MB / 438.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005953/0.3625, allocations: 2.316 MB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/0.3631, allocations: 24 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.368, allocations: 1.738 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.37, allocations: 0.5471 MB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.3736, allocations: 1.244 MB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.3759, allocations: 1.123 MB / 445.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.3777, allocations: 0.8312 MB / 446.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.3787, allocations: 0.4943 MB / 446.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3797, allocations: 0.6225 MB / 447.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.3799, allocations: 100 kB / 447.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.3811, allocations: 439.6 kB / 447.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.3814, allocations: 247.1 kB / 448 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.382, allocations: 461.8 kB / 448.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007235/0.3892, allocations: 1.677 MB / 450.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3892, allocations: 7.984 kB / 450.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3892, allocations: 3.938 kB / 450.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.3892, allocations: 0 / 450.2 MB, free: 4.816 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.02183/0.4111, allocations: 1.976 MB / 452.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4111, allocations: 8.031 kB / 452.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/0.4166, allocations: 499.7 kB / 452.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.417, allocations: 256.8 kB / 452.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.4172, allocations: 94.95 kB / 453 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.4175, allocations: 132.3 kB / 453.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.4211, allocations: 1.325 MB / 454.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.4212, allocations: 0 / 454.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.4214, allocations: 56 kB / 454.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.4214, allocations: 32 kB / 454.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.4248, allocations: 1.177 MB / 455.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008037/0.4328, allocations: 3.349 MB / 459 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.4356, allocations: 1.135 MB / 460.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009987/0.4456, allocations: 460.6 kB / 460.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.4459, allocations: 44.89 kB / 460.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.4459, allocations: 43.56 kB / 460.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.87e-06/0.4459, allocations: 0 / 460.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.02452/0.4704, allocations: 3.54 MB / 464.2 MB, free: 6.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.4705, allocations: 94.11 kB / 464.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.4712, allocations: 389.3 kB / 464.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.4713, allocations: 45.7 kB / 464.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.4717, allocations: 468.5 kB / 465.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/0.4722, allocations: 452.2 kB / 465.7 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.4727, allocations: 231.5 kB / 465.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.473, allocations: 370.8 kB / 466.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.4745, allocations: 431.8 kB / 466.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.4764, allocations: 0.7131 MB / 467.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.4795, allocations: 1.179 MB / 468.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.4795, allocations: 7.938 kB / 468.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004055/0.4835, allocations: 1.455 MB / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.4836, allocations: 15.94 kB / 470 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4836, allocations: 8 kB / 470.1 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.4843, allocations: 197.5 kB / 470.2 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.486, allocations: 287.6 kB / 470.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005571/0.4916, allocations: 4.064 MB / 474.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.4927, allocations: 79.88 kB / 474.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.4928, allocations: 55.98 kB / 474.7 MB, free: 11.51 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.0005381/0.4934, allocations: 269.4 kB / 475 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.4936, allocations: 79.59 kB / 475.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.4975, allocations: 1.319 MB / 476.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.4975, allocations: 12 kB / 476.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4975, allocations: 4 kB / 476.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.4975, allocations: 3.984 kB / 476.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.5035, allocations: 2.185 MB / 478.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5035, allocations: 4.125 kB / 478.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.5048, allocations: 211.7 kB / 478.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.5061, allocations: 173.4 kB / 479 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.5062, allocations: 27.98 kB / 479 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00582/0.512, allocations: 3.889 MB / 482.9 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.512, allocations: 0 / 482.9 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/0.5173, allocations: 1.872 MB / 484.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.5178, allocations: 151.5 kB / 484.9 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.5179, allocations: 28 kB / 484.9 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.5188, allocations: 59.94 kB / 485 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.5191, allocations: 96.75 kB / 485.1 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.5192, allocations: 35.98 kB / 485.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003649/0.5195, allocations: 255.2 kB / 485.4 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5195, allocations: 4.062 kB / 485.4 MB, free: 0.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001475/0.521, allocations: 307.9 kB / 485.7 MB, free: 248 kB / 382.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.0003577/0.5213, allocations: 171 kB / 485.8 MB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.5251, allocations: 1.399 MB / 487.2 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5251, allocations: 0 / 487.2 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.527, allocations: 0.8115 MB / 488.1 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.5277, allocations: 65.48 kB / 488.1 MB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009019/0.5367, allocations: 1.893 MB / 490 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.5372, allocations: 416.3 kB / 490.4 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007338/0.538, allocations: 142.6 kB / 490.6 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.5383, allocations: 75.41 kB / 490.6 MB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5383, allocations: 0 / 490.6 MB, free: 11.15 MB / 398.1 MB Notification: Performance of Templates: time 0.02736/0.5657, allocations: 11.81 MB / 0.4907 GB, free: 15.47 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 7.968706989995553]