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.001342/0.001342, allocations: 87.92 kB / 20.78 MB, free: 0.5977 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.001415/0.001415, allocations: 149.6 kB / 24.06 MB, free: 3.598 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.438/1.438, allocations: 173.3 MB / 200.6 MB, free: 12.81 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 1.673e-06/1.673e-06, allocations: 0 / 319.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.781e-05, allocations: 5.516 kB / 319.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006599/0.006627, allocations: 5.936 MB / 325.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.0116, allocations: 2.269 MB / 327.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007661/0.01236, allocations: 21.66 kB / 327.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.01684, allocations: 1.833 MB / 329.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.01898, allocations: 0.7001 MB / 329.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.02143, allocations: 1.118 MB / 331 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.02309, allocations: 1.159 MB / 332.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.0244, allocations: 0.8343 MB / 333 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009941/0.02539, allocations: 0.6953 MB / 333.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006641/0.02606, allocations: 485.5 kB / 334.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.02621, allocations: 99.62 kB / 334.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.02723, allocations: 412.4 kB / 334.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.02744, allocations: 251.3 kB / 334.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.02789, allocations: 390.8 kB / 335.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.02996, allocations: 1.692 MB / 337 MB, free: 8.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.02997, allocations: 1.406 kB / 337 MB, free: 8.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02997, allocations: 0 / 337 MB, free: 8.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.02998, allocations: 3.938 kB / 337 MB, free: 8.379 MB / 302.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.006435/0.03642, allocations: 1.956 MB / 339 MB, free: 7.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.03646, allocations: 10.83 kB / 339 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003744/0.0402, allocations: 0.5107 MB / 339.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.04058, allocations: 256.2 kB / 339.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.04068, allocations: 94.33 kB / 339.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.04087, allocations: 129 kB / 339.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.0434, allocations: 1.326 MB / 341.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.04344, allocations: 8.125 kB / 341.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.04357, allocations: 56.31 kB / 341.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.0436, allocations: 35.94 kB / 341.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.04627, allocations: 1.189 MB / 342.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006388/0.05265, allocations: 3.379 MB / 345.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.05485, allocations: 1.139 MB / 347.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009726/0.05582, allocations: 464 kB / 347.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.05594, allocations: 24.98 kB / 347.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.05598, allocations: 43.56 kB / 347.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 2.705e-06/0.05598, allocations: 0 / 347.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.01173/0.06771, allocations: 3.56 MB / 351.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.06779, allocations: 90.11 kB / 351.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.06825, allocations: 393.2 kB / 351.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.06833, allocations: 49.7 kB / 351.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.06864, allocations: 464.6 kB / 352.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.069, allocations: 440.1 kB / 352.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.06936, allocations: 235.5 kB / 352.8 MB, free: 9.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.06954, allocations: 366.8 kB / 353.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.07073, allocations: 439.8 kB / 353.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.07215, allocations: 0.7208 MB / 354.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.07477, allocations: 1.182 MB / 355.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.07478, allocations: 4 kB / 355.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003367/0.07814, allocations: 1.459 MB / 356.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.07817, allocations: 8 kB / 356.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.07819, allocations: 12 kB / 357 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.07879, allocations: 201.6 kB / 357.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.08012, allocations: 299.5 kB / 357.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.08461, allocations: 4.06 MB / 361.5 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009943/0.0856, allocations: 71.94 kB / 361.6 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.0857, allocations: 55.98 kB / 361.6 MB, free: 328 kB / 318.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.0004613/0.08616, allocations: 273.5 kB / 361.9 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.08632, allocations: 67.62 kB / 362 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.08964, allocations: 1.347 MB / 363.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.08965, allocations: 16 kB / 363.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.08966, allocations: 4 kB / 363.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.08967, allocations: 3.984 kB / 363.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/0.09447, allocations: 2.178 MB / 365.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.09448, allocations: 4 kB / 365.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.09552, allocations: 219.7 kB / 365.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.09597, allocations: 161.7 kB / 365.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.09603, allocations: 31.98 kB / 365.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.1001, allocations: 3.904 MB / 369.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1001, allocations: 0 / 369.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/0.1043, allocations: 1.869 MB / 371.7 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.1047, allocations: 147.5 kB / 371.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.1048, allocations: 27.94 kB / 371.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/0.1055, allocations: 59.95 kB / 371.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.1057, allocations: 100.8 kB / 372 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.1058, allocations: 39.92 kB / 372.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002913/0.1061, allocations: 255.2 kB / 372.3 MB, free: 5.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1061, allocations: 0 / 372.3 MB, free: 5.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00119/0.1073, allocations: 303.9 kB / 372.6 MB, free: 5.023 MB / 334.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.0003229/0.1076, allocations: 179 kB / 372.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003344/0.1109, allocations: 1.395 MB / 374.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1109, allocations: 0 / 374.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.1125, allocations: 0.8153 MB / 375 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.1131, allocations: 67.75 kB / 375.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.1172, allocations: 1.905 MB / 377 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.1176, allocations: 416.3 kB / 377.4 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006255/0.1182, allocations: 150.6 kB / 377.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.1185, allocations: 72.47 kB / 377.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1185, allocations: 0 / 377.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of Templates: time 0.0215/0.14, allocations: 10.03 MB / 387.6 MB, free: 5.996 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.769790954887867]