Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001797/0.001797, allocations: 107.6 kB / 21.19 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.002201/0.002201, allocations: 210.9 kB / 24.48 MB, free: 3.938 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 51.89 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2406, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006792/0.2474, allocations: 4.586 MB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.2512, allocations: 2.016 MB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.2515, allocations: 16 kB / 439 MB, free: 56 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.2548, allocations: 1.298 MB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.2561, allocations: 425.3 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.2585, allocations: 1.13 MB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.2595, allocations: 0.7472 MB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009473/0.2604, allocations: 0.5828 MB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004715/0.2609, allocations: 342.8 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.2614, allocations: 430.3 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2615, allocations: 68 kB / 444 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.2624, allocations: 415.6 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2626, allocations: 163.4 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.2629, allocations: 310.5 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.2644, allocations: 1.225 MB / 446.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2644, allocations: 0 / 446.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2644, allocations: 0 / 446.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.2644, allocations: 3.938 kB / 446.1 MB, free: 8.945 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.004354/0.2688, allocations: 1.413 MB / 447.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2688, allocations: 12.03 kB / 447.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.2713, allocations: 364.1 kB / 447.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.2716, allocations: 201.6 kB / 448 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.2717, allocations: 70.31 kB / 448.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.2718, allocations: 80.38 kB / 448.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.2736, allocations: 0.9047 MB / 449.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.2736, allocations: 7.953 kB / 449.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/0.2737, allocations: 36 kB / 449.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2737, allocations: 20 kB / 449.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.2755, allocations: 0.7808 MB / 449.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/0.2799, allocations: 2.297 MB / 452.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.281, allocations: 0.5079 MB / 452.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.2815, allocations: 214.2 kB / 452.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.714e-05/0.2816, allocations: 24.47 kB / 453 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.2816, allocations: 47.06 kB / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 4.278e-06/0.2816, allocations: 3.984 kB / 453 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007204/0.2888, allocations: 2.163 MB / 455.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.2889, allocations: 81.61 kB / 455.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.2893, allocations: 323.8 kB / 455.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.2893, allocations: 37.7 kB / 455.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.2896, allocations: 379.9 kB / 456 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.2898, allocations: 218.1 kB / 456.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.29, allocations: 150.6 kB / 456.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.2902, allocations: 346.8 kB / 456.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/0.291, allocations: 269.8 kB / 457 MB, free: 13.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009778/0.2919, allocations: 0.5294 MB / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.2937, allocations: 0.8165 MB / 458.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2937, allocations: 4 kB / 458.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002158/0.2958, allocations: 0.8927 MB / 459.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.2959, allocations: 8.656 kB / 459.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.2959, allocations: 8 kB / 459.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.2962, allocations: 73.61 kB / 459.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.297, allocations: 203.7 kB / 459.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.2994, allocations: 2.619 MB / 462.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.3, allocations: 64.03 kB / 462.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.3001, allocations: 39.98 kB / 462.2 MB, free: 8.055 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.0003264/0.3004, allocations: 209.6 kB / 462.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.3005, allocations: 43.72 kB / 462.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3024, allocations: 0.7297 MB / 463.2 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.3024, allocations: 4 kB / 463.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3025, allocations: 4 kB / 463.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3025, allocations: 7.938 kB / 463.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.3051, allocations: 1.212 MB / 464.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3051, allocations: 4 kB / 464.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.3058, allocations: 123.8 kB / 464.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.3059, allocations: 61.67 kB / 464.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.306, allocations: 15.98 kB / 464.6 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.3082, allocations: 2.596 MB / 467.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3082, allocations: 0 / 467.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.3108, allocations: 1.078 MB / 468.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.311, allocations: 87.67 kB / 468.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.3111, allocations: 15.94 kB / 468.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.3116, allocations: 39.95 kB / 468.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3117, allocations: 56.34 kB / 468.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.3117, allocations: 19.98 kB / 468.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.312, allocations: 207.1 kB / 468.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.312, allocations: 0 / 468.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007118/0.3127, allocations: 188 kB / 468.9 MB, free: 1.078 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.0002866/0.313, allocations: 163.2 kB / 469 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.315, allocations: 0.8681 MB / 469.9 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.315, allocations: 4 kB / 469.9 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.316, allocations: 0.5244 MB / 470.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3165, allocations: 44.58 kB / 470.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.3191, allocations: 1.241 MB / 471.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3195, allocations: 286.7 kB / 472 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.3197, allocations: 59.41 kB / 472.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3197, allocations: 0 / 472.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01866/0.3383, allocations: 13.86 MB / 485.9 MB, free: 15.93 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.921880617970601]