Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001936/0.001936, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002465/0.002465, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.57/1.57, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 373.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09886, allocations: 53.33 MB / 426.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.1846/0.2834, allocations: 5.07 MB / 431.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.2864, allocations: 2.171 MB / 434.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.2866, allocations: 16.94 kB / 434.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.2891, allocations: 1.407 MB / 435.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008183/0.2899, allocations: 430.5 kB / 435.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.2919, allocations: 1.211 MB / 437.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007711/0.2927, allocations: 0.7303 MB / 437.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007039/0.2934, allocations: 0.5021 MB / 438.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.2938, allocations: 346.9 kB / 438.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.2942, allocations: 427 kB / 439.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.419e-05/0.2943, allocations: 71.53 kB / 439.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.2951, allocations: 411 kB / 439.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2952, allocations: 169.1 kB / 439.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.2955, allocations: 370.1 kB / 440.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.2968, allocations: 1.217 MB / 441.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2968, allocations: 0 / 441.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2968, allocations: 0 / 441.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.2968, allocations: 5.125 kB / 441.3 MB, free: 4.957 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004317/0.3011, allocations: 1.48 MB / 442.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3012, allocations: 9.281 kB / 442.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.304, allocations: 366.3 kB / 443.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3042, allocations: 255.7 kB / 443.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.3042, allocations: 61.75 kB / 443.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.3044, allocations: 86.06 kB / 443.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3061, allocations: 0.8757 MB / 444.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.3061, allocations: 6.047 kB / 444.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.3062, allocations: 30.91 kB / 444.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3062, allocations: 20.75 kB / 444.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.308, allocations: 0.792 MB / 445.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.3123, allocations: 3.012 MB / 448.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3134, allocations: 0.9634 MB / 449.3 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.3139, allocations: 220.5 kB / 449.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.3141, allocations: 182.8 kB / 449.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3141, allocations: 45.28 kB / 449.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 1.814e-06/0.3141, allocations: 0 / 449.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007982/0.3221, allocations: 2.394 MB / 452.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.3222, allocations: 83.17 kB / 452.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.3225, allocations: 310.7 kB / 452.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.3226, allocations: 35.08 kB / 452.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.3228, allocations: 371.2 kB / 452.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.323, allocations: 215.1 kB / 453.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.3233, allocations: 146.1 kB / 453.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3235, allocations: 355.6 kB / 453.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/0.3243, allocations: 264.1 kB / 453.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3253, allocations: 0.5011 MB / 454.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.3272, allocations: 0.807 MB / 455.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3272, allocations: 7.125 kB / 455.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002219/0.3294, allocations: 0.8945 MB / 456 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3294, allocations: 7.781 kB / 456.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3294, allocations: 7.781 kB / 456.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.3297, allocations: 73.66 kB / 456.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/0.3306, allocations: 194.7 kB / 456.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.333, allocations: 2.871 MB / 459.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/0.3337, allocations: 63.69 kB / 459.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.3338, allocations: 33.98 kB / 459.3 MB, free: 9.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.3341, allocations: 220.2 kB / 459.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3342, allocations: 44.81 kB / 459.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.3363, allocations: 0.7341 MB / 460.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.3364, allocations: 5.188 kB / 460.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3364, allocations: 5.625 kB / 460.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/0.3364, allocations: 3.984 kB / 460.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.3393, allocations: 1.409 MB / 461.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3393, allocations: 0 / 461.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.34, allocations: 129.8 kB / 461.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.3402, allocations: 59.17 kB / 461.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.3403, allocations: 20.17 kB / 461.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.3428, allocations: 2.845 MB / 464.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3428, allocations: 3.75 kB / 464.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.3455, allocations: 1.081 MB / 465.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.3458, allocations: 170.5 kB / 466 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.3459, allocations: 10.25 kB / 466 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.3464, allocations: 43.39 kB / 466.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3465, allocations: 49.23 kB / 466.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.3465, allocations: 20.58 kB / 466.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.3468, allocations: 207.8 kB / 466.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3468, allocations: 1.094 kB / 466.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007597/0.3475, allocations: 175.9 kB / 466.5 MB, free: 3.777 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003051/0.3478, allocations: 167.3 kB / 466.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.35, allocations: 0.8675 MB / 467.5 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.35, allocations: 4.125 kB / 467.5 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3511, allocations: 0.5216 MB / 468.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3515, allocations: 53.83 kB / 468.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.3541, allocations: 1.199 MB / 469.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.3547, allocations: 0.8831 MB / 470.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003546/0.355, allocations: 93.02 kB / 470.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3552, allocations: 48.27 kB / 470.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3552, allocations: 0 / 470.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of Templates: time 0.0134/0.3686, allocations: 6.593 MB / 476.9 MB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.939526505768299]