Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001562/0.001562, allocations: 119.6 kB / 18.41 MB, free: 4.688 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.001576/0.001576, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.456/1.456, allocations: 222.9 MB / 247.1 MB, free: 4.223 MB / 190.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.92 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1058, allocations: 49.43 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008644/0.1144, allocations: 6.69 MB / 414.8 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.1195, allocations: 2.393 MB / 417.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/0.1202, allocations: 24 kB / 417.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004356/0.1246, allocations: 1.882 MB / 419.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.1266, allocations: 0.7027 MB / 419.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.129, allocations: 1.178 MB / 421 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1307, allocations: 1.121 MB / 422.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.1321, allocations: 0.9505 MB / 423.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.1327, allocations: 478.2 kB / 423.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.1334, allocations: 0.6264 MB / 424.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.1336, allocations: 100 kB / 424.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000925/0.1345, allocations: 419.7 kB / 424.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.1347, allocations: 247.1 kB / 424.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.1353, allocations: 0.5675 MB / 425.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.1376, allocations: 1.654 MB / 427.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1376, allocations: 0 / 427.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1376, allocations: 0 / 427.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1376, allocations: 0 / 427.1 MB, free: 3.789 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006541/0.1442, allocations: 2.039 MB / 429.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1442, allocations: 12.03 kB / 429.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.1478, allocations: 0.5114 MB / 429.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.1482, allocations: 318.6 kB / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1484, allocations: 94.95 kB / 430.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.1486, allocations: 128.4 kB / 430.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2318/0.3804, allocations: 1.298 MB / 431.5 MB, free: 21.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.3805, allocations: 5.953 kB / 431.5 MB, free: 21.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.962e-05/0.3806, allocations: 51.75 kB / 431.6 MB, free: 21.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.3807, allocations: 32.66 kB / 431.6 MB, free: 21.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.383, allocations: 1.198 MB / 432.8 MB, free: 21.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006531/0.3896, allocations: 4.187 MB / 437 MB, free: 20.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.3921, allocations: 2.445 MB / 439.4 MB, free: 18.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009391/0.393, allocations: 0.504 MB / 439.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.3932, allocations: 113.7 kB / 440 MB, free: 18.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3932, allocations: 47.89 kB / 440.1 MB, free: 18.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/0.3932, allocations: 0.5469 kB / 440.1 MB, free: 18.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01148/0.4047, allocations: 3.793 MB / 443.9 MB, free: 17.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.4048, allocations: 90.73 kB / 444 MB, free: 17.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.4055, allocations: 396.3 kB / 444.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.4055, allocations: 45.11 kB / 444.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.4059, allocations: 472.8 kB / 444.9 MB, free: 17.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.4063, allocations: 451.5 kB / 445.3 MB, free: 16.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/0.4067, allocations: 232.3 kB / 445.5 MB, free: 16.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4069, allocations: 377.7 kB / 445.9 MB, free: 16.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.408, allocations: 437.5 kB / 446.3 MB, free: 16.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.4094, allocations: 0.6969 MB / 447 MB, free: 15.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/0.4119, allocations: 1.179 MB / 448.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4119, allocations: 2.188 kB / 448.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003597/0.4155, allocations: 1.48 MB / 449.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4156, allocations: 6.781 kB / 449.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.4156, allocations: 10.94 kB / 449.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.4163, allocations: 200.2 kB / 449.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4176, allocations: 285.9 kB / 450.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/0.422, allocations: 4.376 MB / 454.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.4231, allocations: 84.8 kB / 454.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4232, allocations: 56.03 kB / 454.7 MB, free: 10.6 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004386/0.4236, allocations: 260.5 kB / 455 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.4238, allocations: 76.59 kB / 455 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/0.4268, allocations: 1.349 MB / 456.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4269, allocations: 21.19 kB / 456.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4269, allocations: 3.812 kB / 456.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.4269, allocations: 12.77 kB / 456.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/0.4312, allocations: 2.611 MB / 459 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.4312, allocations: 1.25 kB / 459 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/0.4321, allocations: 215.3 kB / 459.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.4325, allocations: 164.2 kB / 459.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/0.4326, allocations: 33.3 kB / 459.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.4353, allocations: 4.189 MB / 463.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4353, allocations: 4.031 kB / 463.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.4388, allocations: 1.883 MB / 465.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.4391, allocations: 227.4 kB / 465.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.4392, allocations: 31.19 kB / 465.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.4399, allocations: 66.23 kB / 465.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4401, allocations: 90.75 kB / 465.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.4401, allocations: 40.67 kB / 465.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.4404, allocations: 270 kB / 466.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4404, allocations: 0 / 466.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001178/0.4416, allocations: 302.4 kB / 466.5 MB, free: 3.047 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002901/0.4419, allocations: 172.7 kB / 466.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.4448, allocations: 1.469 MB / 468.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4448, allocations: 0 / 468.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.4461, allocations: 0.8752 MB / 469 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.4466, allocations: 60.75 kB / 469.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.4502, allocations: 2.001 MB / 471.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/0.4511, allocations: 1.005 MB / 472.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.4515, allocations: 87.39 kB / 472.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4515, allocations: 0 / 472.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of Templates: time 0.02783/0.4793, allocations: 19.64 MB / 491.8 MB, free: 11.24 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.99473496794235]