Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 173.3 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.832e-05/4.049e-05, allocations: 6.25 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.01302/0.01306, allocations: 4.545 MB / 271.9 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007176/0.02023, allocations: 1.965 MB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.02072, allocations: 16 kB / 273.9 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006018/0.02674, allocations: 1.372 MB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.02935, allocations: 0.5668 MB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.03344, allocations: 0.9875 MB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.03524, allocations: 0.7703 MB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.03694, allocations: 0.5675 MB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.03817, allocations: 482.9 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/0.03914, allocations: 327.1 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.03934, allocations: 64 kB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.04078, allocations: 375.4 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.04107, allocations: 171.3 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008486/0.04192, allocations: 255.3 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.04487, allocations: 1.242 MB / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.04487, allocations: 0 / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.04488, allocations: 0 / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.0449, allocations: 0 / 281 MB, free: 8.957 MB / 266.7 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.005641/0.05054, allocations: 1.386 MB / 282.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.05058, allocations: 8.922 kB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.05383, allocations: 0.5115 MB / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.05424, allocations: 193.5 kB / 283.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.05438, allocations: 70.38 kB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.05466, allocations: 88.33 kB / 283.3 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.05781, allocations: 0.9014 MB / 284.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.05785, allocations: 4.188 kB / 284.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.05799, allocations: 32.38 kB / 284.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.05803, allocations: 23.94 kB / 284.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/0.06117, allocations: 0.7925 MB / 285 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007471/0.06864, allocations: 2.339 MB / 287.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.07049, allocations: 0.5139 MB / 287.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/0.07143, allocations: 218.2 kB / 288.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.07156, allocations: 16.5 kB / 288.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.271e-05/0.07162, allocations: 39.06 kB / 288.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.888e-06/0.07162, allocations: 0 / 288.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1241/0.1957, allocations: 2.206 MB / 290.3 MB, free: 32.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1958, allocations: 85.78 kB / 290.4 MB, free: 32.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1961, allocations: 311.1 kB / 290.7 MB, free: 32.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.1961, allocations: 37.08 kB / 290.8 MB, free: 32.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1962, allocations: 376.6 kB / 291.1 MB, free: 31.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1964, allocations: 210 kB / 291.3 MB, free: 31.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.1966, allocations: 150.9 kB / 291.5 MB, free: 31.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.1967, allocations: 344.9 kB / 291.8 MB, free: 31.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.1974, allocations: 274.9 kB / 292.1 MB, free: 31.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008583/0.1983, allocations: 0.5306 MB / 292.6 MB, free: 30.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.1999, allocations: 0.8123 MB / 293.4 MB, free: 30.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1999, allocations: 3.875 kB / 293.4 MB, free: 30.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00213/0.2021, allocations: 0.94 MB / 294.4 MB, free: 30.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2021, allocations: 8.5 kB / 294.4 MB, free: 30.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.2021, allocations: 8.125 kB / 294.4 MB, free: 30.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.2026, allocations: 101.3 kB / 294.5 MB, free: 30.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.2035, allocations: 199 kB / 294.7 MB, free: 30.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.2048, allocations: 2.614 MB / 297.3 MB, free: 27.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.2055, allocations: 67.75 kB / 297.4 MB, free: 27.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.2056, allocations: 44.64 kB / 297.4 MB, free: 27.45 MB / 266.7 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.0002341/0.2058, allocations: 213.9 kB / 297.6 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2059, allocations: 59.55 kB / 297.7 MB, free: 27.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.2079, allocations: 0.7407 MB / 298.4 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2079, allocations: 6.562 kB / 298.4 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2079, allocations: 2.047 kB / 298.4 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2079, allocations: 2.719 kB / 298.4 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.2106, allocations: 1.222 MB / 299.7 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2106, allocations: 0.7969 kB / 299.7 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.2114, allocations: 132.9 kB / 299.8 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.2118, allocations: 87.38 kB / 299.9 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.2119, allocations: 19.59 kB / 299.9 MB, free: 26.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.2131, allocations: 2.597 MB / 302.5 MB, free: 23.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2131, allocations: 0.7031 kB / 302.5 MB, free: 23.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.2157, allocations: 1.106 MB / 303.6 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.2159, allocations: 92.56 kB / 303.7 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.216, allocations: 11.61 kB / 303.7 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.2165, allocations: 55.94 kB / 303.7 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2167, allocations: 54.14 kB / 303.8 MB, free: 23.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.2167, allocations: 18.98 kB / 303.8 MB, free: 23.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.2169, allocations: 199.7 kB / 304 MB, free: 23.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2169, allocations: 0 / 304 MB, free: 23.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007111/0.2176, allocations: 179.9 kB / 304.2 MB, free: 23.04 MB / 266.7 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.0002494/0.2179, allocations: 152.6 kB / 304.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.2198, allocations: 0.8866 MB / 305.2 MB, free: 22.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2198, allocations: 4.188 kB / 305.2 MB, free: 22.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.2208, allocations: 0.5263 MB / 305.8 MB, free: 22.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.2213, allocations: 60.45 kB / 305.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2236, allocations: 1.214 MB / 307 MB, free: 21.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2238, allocations: 279.3 kB / 307.3 MB, free: 21.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.2242, allocations: 89.66 kB / 307.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.2243, allocations: 55.95 kB / 307.4 MB, free: 21.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2243, allocations: 0 / 307.4 MB, free: 21.38 MB / 266.7 MB Notification: Performance of Templates: time 0.01027/0.2346, allocations: 6.26 MB / 313.7 MB, free: 16.89 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.60582593397703]