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.001648/0.001648, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00189/0.00189, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001684/0.001684, allocations: 55.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2458, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007702/0.2535, allocations: 4.558 MB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.2576, allocations: 2.008 MB / 438.9 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004046/0.258, allocations: 16 kB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.2614, allocations: 1.307 MB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.2628, allocations: 416.3 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.2653, allocations: 1.129 MB / 441.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.2664, allocations: 0.7394 MB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/0.2673, allocations: 0.5704 MB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.2678, allocations: 338.8 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.2683, allocations: 378.3 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.2684, allocations: 64 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.2693, allocations: 391.6 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2694, allocations: 167.4 kB / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.2697, allocations: 302.6 kB / 444.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.2713, allocations: 1.218 MB / 445.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2713, allocations: 0 / 445.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2713, allocations: 0 / 445.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.2713, allocations: 4 kB / 445.9 MB, free: 9.09 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.004464/0.2758, allocations: 1.402 MB / 447.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2758, allocations: 8.031 kB / 447.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.2785, allocations: 376.1 kB / 447.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.2787, allocations: 190.3 kB / 447.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.2788, allocations: 62.38 kB / 447.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.279, allocations: 84.38 kB / 448 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.2808, allocations: 0.8933 MB / 448.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.2808, allocations: 11.95 kB / 448.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.2809, allocations: 28 kB / 449 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.2809, allocations: 27.98 kB / 449 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.2828, allocations: 0.7808 MB / 449.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.2873, allocations: 2.301 MB / 452.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.2884, allocations: 0.5102 MB / 452.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.289, allocations: 218.2 kB / 452.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2891, allocations: 28.47 kB / 452.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.2891, allocations: 39.06 kB / 452.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.086e-06/0.2891, allocations: 0 / 452.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007578/0.2967, allocations: 2.163 MB / 455 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.2968, allocations: 89.59 kB / 455.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.2971, allocations: 307.9 kB / 455.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.2972, allocations: 33.7 kB / 455.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.2975, allocations: 375.9 kB / 455.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.2976, allocations: 218.1 kB / 456 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.2979, allocations: 154.5 kB / 456.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.298, allocations: 346.8 kB / 456.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.2988, allocations: 265.8 kB / 456.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.2998, allocations: 0.5294 MB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.3016, allocations: 0.8049 MB / 458.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3016, allocations: 8 kB / 458.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002198/0.3038, allocations: 0.8967 MB / 459 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3039, allocations: 8 kB / 459 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3039, allocations: 11.94 kB / 459 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.3041, allocations: 74.02 kB / 459.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008581/0.305, allocations: 199.6 kB / 459.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.3073, allocations: 2.615 MB / 461.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.308, allocations: 63.84 kB / 462 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.308, allocations: 39.98 kB / 462 MB, free: 8.242 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.0003333/0.3084, allocations: 217.7 kB / 462.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.3085, allocations: 35.77 kB / 462.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.3105, allocations: 0.7296 MB / 463 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3105, allocations: 8 kB / 463 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3105, allocations: 0 / 463 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3105, allocations: 3.984 kB / 463 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.3132, allocations: 1.197 MB / 464.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3132, allocations: 11.94 kB / 464.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.3139, allocations: 131.8 kB / 464.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.314, allocations: 57.66 kB / 464.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.3141, allocations: 16 kB / 464.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.3163, allocations: 2.596 MB / 467 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3163, allocations: 0 / 467 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.319, allocations: 1.074 MB / 468.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.3192, allocations: 83.67 kB / 468.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.3193, allocations: 12 kB / 468.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.3198, allocations: 52 kB / 468.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3199, allocations: 48.41 kB / 468.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.32, allocations: 16 kB / 468.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.3202, allocations: 207 kB / 468.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3202, allocations: 0 / 468.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.3209, allocations: 179.9 kB / 468.7 MB, free: 1.293 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.0002773/0.3212, allocations: 163 kB / 468.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.3233, allocations: 0.8768 MB / 469.7 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3233, allocations: 0 / 469.7 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3244, allocations: 0.5273 MB / 470.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.3248, allocations: 44.97 kB / 470.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.3276, allocations: 1.225 MB / 471.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3279, allocations: 286.5 kB / 471.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.3281, allocations: 67.39 kB / 471.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3281, allocations: 0 / 471.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01839/0.3465, allocations: 13.71 MB / 485.5 MB, free: 304 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/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: 8.120052884332836]