Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001915/0.001915, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 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.002444/0.002444, allocations: 193.2 kB / 24.47 MB, free: 4.156 MB / 14.72 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.478/1.478, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 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.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 43.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2724, allocations: 52.17 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007265/0.2797, allocations: 5.149 MB / 429 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.2843, allocations: 2.109 MB / 431.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.2847, allocations: 16 kB / 431.2 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.2883, allocations: 1.412 MB / 432.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.2899, allocations: 0.5856 MB / 433.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.2921, allocations: 1.076 MB / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.2932, allocations: 0.7511 MB / 435 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.2941, allocations: 0.5817 MB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.2946, allocations: 338.8 kB / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.2951, allocations: 442.3 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.2953, allocations: 68 kB / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008725/0.2961, allocations: 391.6 kB / 436.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.2963, allocations: 167.4 kB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.2968, allocations: 382.1 kB / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.2985, allocations: 1.202 MB / 438.5 MB, free: 8 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2985, allocations: 0 / 438.5 MB, free: 8 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2985, allocations: 0 / 438.5 MB, free: 8 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.2985, allocations: 0 / 438.5 MB, free: 8 kB / 334.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.00452/0.3031, allocations: 1.402 MB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3031, allocations: 8.031 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.3057, allocations: 392.1 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.306, allocations: 205.5 kB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.306, allocations: 66.38 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.3062, allocations: 80.38 kB / 440.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.3079, allocations: 0.8835 MB / 441.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3079, allocations: 0 / 441.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.308, allocations: 36 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.308, allocations: 20 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.3099, allocations: 0.8003 MB / 442.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004708/0.3146, allocations: 2.763 MB / 445.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.3157, allocations: 0.5129 MB / 445.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.3163, allocations: 222.2 kB / 445.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.629e-05/0.3164, allocations: 20.47 kB / 445.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3164, allocations: 39.06 kB / 445.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 5.029e-06/0.3164, allocations: 3.984 kB / 445.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008119/0.3245, allocations: 2.198 MB / 448.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.3246, allocations: 85.61 kB / 448.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.325, allocations: 316.5 kB / 448.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.325, allocations: 33.7 kB / 448.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3253, allocations: 375.9 kB / 448.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.3255, allocations: 226.1 kB / 449.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.3257, allocations: 150.6 kB / 449.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3259, allocations: 354.7 kB / 449.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/0.3267, allocations: 273.8 kB / 449.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009951/0.3277, allocations: 0.516 MB / 450.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.3295, allocations: 0.8088 MB / 451.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3295, allocations: 7.938 kB / 451.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002262/0.3318, allocations: 0.9089 MB / 452.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.3318, allocations: 15.94 kB / 452.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.3318, allocations: 8 kB / 452.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.3321, allocations: 65.67 kB / 452.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.333, allocations: 207.7 kB / 452.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.3355, allocations: 2.666 MB / 455.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.3362, allocations: 59.95 kB / 455.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.3363, allocations: 39.98 kB / 455.2 MB, free: 14.5 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.000387/0.3367, allocations: 217.6 kB / 455.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.3368, allocations: 47.66 kB / 455.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.3389, allocations: 0.7454 MB / 456.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3389, allocations: 4 kB / 456.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3389, allocations: 0 / 456.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.3389, allocations: 11.92 kB / 456.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.3418, allocations: 1.387 MB / 457.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3419, allocations: 7.984 kB / 457.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.3426, allocations: 131.8 kB / 457.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.3427, allocations: 65.66 kB / 457.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.3428, allocations: 15.98 kB / 457.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.3451, allocations: 2.646 MB / 460.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3451, allocations: 0 / 460.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.3479, allocations: 1.089 MB / 461.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.3482, allocations: 91.67 kB / 461.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/0.3482, allocations: 12 kB / 461.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.3488, allocations: 47.94 kB / 461.7 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3489, allocations: 48.47 kB / 461.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.349, allocations: 19.98 kB / 461.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002846/0.3492, allocations: 223.1 kB / 462 MB, free: 7.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3492, allocations: 0 / 462 MB, free: 7.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007601/0.35, allocations: 172 kB / 462.2 MB, free: 7.203 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.0003173/0.3503, allocations: 175.2 kB / 462.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.3526, allocations: 0.8885 MB / 463.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.3526, allocations: 0 / 463.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.3538, allocations: 0.5274 MB / 463.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.3545, allocations: 52.97 kB / 463.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.3579, allocations: 1.291 MB / 465.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/0.3587, allocations: 0.8848 MB / 466 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.359, allocations: 63.39 kB / 466 MB, free: 3.203 MB / 366.1 MB Notification: Performance of SimCode: time 1.763e-06/0.359, allocations: 0 / 466 MB, free: 3.203 MB / 366.1 MB Notification: Performance of Templates: time 0.02065/0.3797, allocations: 13.33 MB / 479.4 MB, free: 5.887 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.862203878117725]