Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2887, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005379/0.2941, allocations: 3.57 MB / 435.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.2961, allocations: 0.962 MB / 436.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.2963, allocations: 8 kB / 436.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2966, allocations: 95.09 kB / 436.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.297, allocations: 166.7 kB / 436.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.2974, allocations: 175.7 kB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000658/0.2981, allocations: 0.6302 MB / 437.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.2984, allocations: 147.5 kB / 437.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.2987, allocations: 235 kB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.299, allocations: 278.6 kB / 438.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.2991, allocations: 52 kB / 438.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.2992, allocations: 52 kB / 438.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2993, allocations: 127.5 kB / 438.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.2996, allocations: 286.5 kB / 438.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.3003, allocations: 0.6339 MB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3003, allocations: 0 / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3003, allocations: 4 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3003, allocations: 0 / 439.4 MB, free: 15.98 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001707/0.302, allocations: 0.8764 MB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.302, allocations: 8.031 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3022, allocations: 68.52 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.3028, allocations: 348 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.3028, allocations: 41.69 kB / 440.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.3029, allocations: 52.36 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.3038, allocations: 442.4 kB / 441.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3038, allocations: 4 kB / 441.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.3038, allocations: 20 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3038, allocations: 16 kB / 441.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/0.3047, allocations: 385 kB / 441.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.3074, allocations: 1.589 MB / 443.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.3082, allocations: 389.4 kB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.3086, allocations: 157.4 kB / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.3086, allocations: 16.38 kB / 443.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3087, allocations: 42.83 kB / 443.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.943e-06/0.3087, allocations: 0 / 443.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003471/0.3121, allocations: 1.187 MB / 445 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3122, allocations: 63.95 kB / 445.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.3127, allocations: 409.5 kB / 445.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3127, allocations: 37.7 kB / 445.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.313, allocations: 308.6 kB / 445.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.3131, allocations: 198.3 kB / 446 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.3133, allocations: 110.3 kB / 446.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3135, allocations: 358.8 kB / 446.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.3139, allocations: 181.2 kB / 446.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.3144, allocations: 299 kB / 447 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.3154, allocations: 494.5 kB / 447.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3154, allocations: 4 kB / 447.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001674/0.3171, allocations: 0.7384 MB / 448.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3171, allocations: 8 kB / 448.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3171, allocations: 0 / 448.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.3177, allocations: 185.5 kB / 448.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.3182, allocations: 107.9 kB / 448.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00479/0.323, allocations: 4.281 MB / 452.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.3234, allocations: 31.94 kB / 452.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.3235, allocations: 24.27 kB / 452.8 MB, free: 1.918 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.3237, allocations: 189.7 kB / 453 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.3238, allocations: 47.67 kB / 453 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.324, allocations: 68.95 kB / 453.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.324, allocations: 7.938 kB / 453.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.324, allocations: 4 kB / 453.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.324, allocations: 3.984 kB / 453.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.3264, allocations: 1.296 MB / 454.4 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3264, allocations: 0 / 454.4 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.3267, allocations: 67.89 kB / 454.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004331/0.3271, allocations: 161.9 kB / 454.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3272, allocations: 19.86 kB / 454.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.3314, allocations: 4.107 MB / 458.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3314, allocations: 4 kB / 458.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.3328, allocations: 0.6978 MB / 459.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3329, allocations: 128.7 kB / 459.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.333, allocations: 8 kB / 459.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.3333, allocations: 23.98 kB / 459.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3334, allocations: 52.31 kB / 459.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3334, allocations: 16 kB / 459.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003479/0.3338, allocations: 283.1 kB / 460 MB, free: 10.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3338, allocations: 0 / 460 MB, free: 10.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007351/0.3345, allocations: 152 kB / 460.1 MB, free: 10.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.000155/0.3347, allocations: 115.2 kB / 460.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3363, allocations: 0.7611 MB / 461 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3363, allocations: 0 / 461 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008756/0.3371, allocations: 0.5123 MB / 461.5 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3376, allocations: 56.88 kB / 461.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.3395, allocations: 0.966 MB / 462.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.34, allocations: 0.8592 MB / 463.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.3402, allocations: 48.36 kB / 463.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.3403, allocations: 27.44 kB / 463.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of SimCode: time 1.502e-06/0.3403, allocations: 3.938 kB / 463.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of Templates: time 0.01284/0.3531, allocations: 5.432 MB / 468.9 MB, free: 1.281 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.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.741709562018514]