Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009964/0.0009964, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.0009468/0.0009468, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9074/0.9074, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.513e-05, allocations: 2.312 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003411/0.003436, allocations: 3.526 MB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004745, allocations: 0.9501 MB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.004899, allocations: 8 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.005117, allocations: 95.09 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.005408, allocations: 170.6 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.005677, allocations: 171.6 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.006123, allocations: 0.658 MB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.00632, allocations: 126 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.006656, allocations: 375.1 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.006885, allocations: 203.3 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.006941, allocations: 52 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.592e-05/0.006997, allocations: 52 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.007058, allocations: 123.5 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.007179, allocations: 195.5 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.007548, allocations: 414.4 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.007552, allocations: 0 / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007553, allocations: 0 / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.007559, allocations: 4 kB / 280 MB, free: 10.34 MB / 266.7 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.001145/0.008705, allocations: 0.8893 MB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.008744, allocations: 15.98 kB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.008859, allocations: 108.5 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.009171, allocations: 292.1 kB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.009204, allocations: 41.69 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.009252, allocations: 48.38 kB / 281.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.009694, allocations: 343.8 kB / 281.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.009706, allocations: 192 / 281.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.009736, allocations: 27.92 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.009748, allocations: 19.94 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.01005, allocations: 207.7 kB / 282 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.01153, allocations: 1.267 MB / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.01189, allocations: 242.4 kB / 283.5 MB, free: 6.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.01207, allocations: 116.2 kB / 283.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.0121, allocations: 4.328 kB / 283.6 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.01212, allocations: 37.72 kB / 283.6 MB, free: 6.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.753e-06/0.01212, allocations: 0 / 283.6 MB, free: 6.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001407/0.01353, allocations: 0.927 MB / 284.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.01356, allocations: 59.91 kB / 284.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.01384, allocations: 438.5 kB / 285 MB, free: 5.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.01387, allocations: 29.7 kB / 285.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.01402, allocations: 367.3 kB / 285.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.01411, allocations: 194.3 kB / 285.6 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.01422, allocations: 116 kB / 285.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000362/0.01458, allocations: 0.5274 MB / 286.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.01472, allocations: 93.25 kB / 286.3 MB, free: 3.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.01492, allocations: 250.7 kB / 286.6 MB, free: 3.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.01526, allocations: 371.9 kB / 286.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01526, allocations: 4 kB / 286.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006331/0.01589, allocations: 0.5822 MB / 287.5 MB, free: 2.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01591, allocations: 14.8 kB / 287.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01592, allocations: 4 kB / 287.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.0165, allocations: 246.7 kB / 287.8 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.01673, allocations: 107.8 kB / 287.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.01931, allocations: 4.795 MB / 292.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.01948, allocations: 23.98 kB / 292.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.01951, allocations: 28.06 kB / 292.7 MB, free: 12.98 MB / 282.7 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.0001202/0.01963, allocations: 184.5 kB / 292.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.01991, allocations: 67.67 kB / 293 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.01997, allocations: 65.02 kB / 293 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01997, allocations: 4 kB / 293.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.01998, allocations: 4 kB / 293.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01999, allocations: 3.984 kB / 293.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.02106, allocations: 1.028 MB / 294.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.02107, allocations: 4 kB / 294.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.0212, allocations: 60.03 kB / 294.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/0.02168, allocations: 227 kB / 294.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.0217, allocations: 12 kB / 294.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.02389, allocations: 4.663 MB / 299 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.02389, allocations: 7.938 kB / 299.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.02443, allocations: 0.6159 MB / 299.7 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.02447, allocations: 39.7 kB / 299.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.0245, allocations: 16.03 kB / 299.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.02462, allocations: 19.98 kB / 299.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.0247, allocations: 44.42 kB / 299.8 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.02471, allocations: 11.98 kB / 299.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.0249, allocations: 287.1 kB / 300.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0249, allocations: 0 / 300.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006758/0.02557, allocations: 152 kB / 300.2 MB, free: 5.105 MB / 282.7 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 9.256e-05/0.02566, allocations: 115.1 kB / 300.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.02634, allocations: 0.7489 MB / 301.1 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.02634, allocations: 256 / 301.1 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.02669, allocations: 0.5652 MB / 301.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.02697, allocations: 45.48 kB / 301.7 MB, free: 3.551 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02798, allocations: 0.9223 MB / 302.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.027e-05/0.02807, allocations: 138.2 kB / 302.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.02817, allocations: 48.23 kB / 302.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.02823, allocations: 28.5 kB / 302.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02823, allocations: 0 / 302.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of Templates: time 0.09979/0.128, allocations: 5.389 MB / 308.2 MB, free: 37.83 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.75604048371315]