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.002262/0.002262, allocations: 100.7 kB / 20.47 MB, free: 1.129 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.002334/0.002334, allocations: 193.8 kB / 23.76 MB, free: 4.336 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.556/1.556, allocations: 225.7 MB / 252.6 MB, free: 12.77 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.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.001757/0.001757, allocations: 51.91 kB / 371 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2342, allocations: 52.18 MB / 423.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008447/0.2426, allocations: 5.946 MB / 429.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.2476, allocations: 2.261 MB / 431.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.2487, allocations: 20 kB / 431.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004721/0.2534, allocations: 1.738 MB / 433.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.2557, allocations: 0.6872 MB / 433.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.2584, allocations: 1.117 MB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.2602, allocations: 1.117 MB / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.2618, allocations: 0.82 MB / 436.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007627/0.2625, allocations: 0.4904 MB / 437.4 MB, free: 152 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.2635, allocations: 0.5445 MB / 437.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.2637, allocations: 100 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2647, allocations: 403.6 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.265, allocations: 243.1 kB / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006332/0.2656, allocations: 469.8 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.2679, allocations: 1.665 MB / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2679, allocations: 0 / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2679, allocations: 0 / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.294e-05/0.268, allocations: 0 / 440.8 MB, free: 12.74 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.007795/0.2758, allocations: 1.972 MB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.2758, allocations: 8.031 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.2797, allocations: 0.5153 MB / 443.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.2801, allocations: 249 kB / 443.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.2802, allocations: 94.95 kB / 443.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.2806, allocations: 128.4 kB / 443.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.2836, allocations: 1.332 MB / 445.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.2836, allocations: 3.953 kB / 445.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.2838, allocations: 59.94 kB / 445.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.2838, allocations: 32 kB / 445.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/0.2866, allocations: 1.189 MB / 446.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006778/0.2933, allocations: 3.324 MB / 449.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.2956, allocations: 1.146 MB / 450.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.2965, allocations: 451.7 kB / 451.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.2967, allocations: 32.92 kB / 451.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.2967, allocations: 43.56 kB / 451.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.2967, allocations: 0 / 451.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01188/0.3086, allocations: 3.556 MB / 454.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.3087, allocations: 90.11 kB / 455 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.3091, allocations: 389.4 kB / 455.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.3092, allocations: 45.7 kB / 455.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.3096, allocations: 472.5 kB / 455.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.3099, allocations: 444.1 kB / 456.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.3103, allocations: 235.5 kB / 456.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3105, allocations: 370.8 kB / 456.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3117, allocations: 435.8 kB / 457.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.3131, allocations: 0.7286 MB / 458 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.3156, allocations: 1.179 MB / 459.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.3156, allocations: 0 / 459.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003443/0.3191, allocations: 1.467 MB / 460.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3191, allocations: 11.94 kB / 460.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3191, allocations: 4.047 kB / 460.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.3197, allocations: 205.3 kB / 460.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.3211, allocations: 295.5 kB / 461.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/0.3258, allocations: 4.065 MB / 465.3 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/0.3267, allocations: 87.94 kB / 465.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.3269, allocations: 51.98 kB / 465.4 MB, free: 3.395 MB / 366.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.0004766/0.3273, allocations: 265.5 kB / 465.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.3275, allocations: 67.58 kB / 465.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/0.3309, allocations: 1.347 MB / 467.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3309, allocations: 12 kB / 467.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3309, allocations: 4 kB / 467.1 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.3309, allocations: 3.984 kB / 467.1 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004915/0.3358, allocations: 2.178 MB / 469.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3358, allocations: 4 kB / 469.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.3369, allocations: 219.8 kB / 469.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004838/0.3374, allocations: 169.5 kB / 469.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/0.3375, allocations: 31.98 kB / 469.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/0.3418, allocations: 3.897 MB / 473.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3418, allocations: 0 / 473.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/0.3462, allocations: 1.865 MB / 475.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.3466, allocations: 155.5 kB / 475.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.3467, allocations: 31.95 kB / 475.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007779/0.3475, allocations: 63.94 kB / 475.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.3478, allocations: 100.7 kB / 475.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.3479, allocations: 35.98 kB / 475.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.3482, allocations: 255.2 kB / 476.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3482, allocations: 0 / 476.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001262/0.3495, allocations: 300 kB / 476.4 MB, free: 8.105 MB / 382.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.000384/0.3498, allocations: 175 kB / 476.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.3533, allocations: 1.392 MB / 477.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3533, allocations: 0 / 477.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.3551, allocations: 0.823 MB / 478.8 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.3558, allocations: 69.42 kB / 478.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.3604, allocations: 1.967 MB / 480.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.3609, allocations: 416.3 kB / 481.2 MB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006653/0.3616, allocations: 146.6 kB / 481.3 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.3619, allocations: 76.47 kB / 481.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3619, allocations: 0 / 481.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of Templates: time 0.02185/0.3837, allocations: 9.996 MB / 491.4 MB, free: 9.051 MB / 398.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: 5.059505781158805]