Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001373/0.001373, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002572/0.002572, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.52/1.52, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.133e-05, allocations: 3.594 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007999/0.00802, allocations: 5.941 MB / 331 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004935/0.01296, allocations: 2.327 MB / 333.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000896/0.01385, allocations: 22.25 kB / 333.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.01854, allocations: 1.85 MB / 335.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.02049, allocations: 0.5534 MB / 335.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.02335, allocations: 1.248 MB / 337 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.02512, allocations: 1.163 MB / 338.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.02663, allocations: 0.8194 MB / 339 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.02793, allocations: 0.7108 MB / 339.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.02885, allocations: 478.6 kB / 340.1 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.02906, allocations: 100 kB / 340.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.0301, allocations: 435.3 kB / 340.7 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.03034, allocations: 254.9 kB / 340.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.03089, allocations: 379 kB / 341.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.03317, allocations: 1.717 MB / 343 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.03317, allocations: 0 / 343 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03317, allocations: 0 / 343 MB, free: 3.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.03322, allocations: 0 / 343 MB, free: 3.051 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.007124/0.04034, allocations: 1.968 MB / 345 MB, free: 1.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.04039, allocations: 19.92 kB / 345 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.04421, allocations: 499.8 kB / 345.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.04455, allocations: 252.1 kB / 345.7 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.04466, allocations: 107 kB / 345.8 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.04491, allocations: 128.3 kB / 345.9 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.04768, allocations: 1.317 MB / 347.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.04773, allocations: 12.17 kB / 347.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.04785, allocations: 48.38 kB / 347.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.04788, allocations: 39.88 kB / 347.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.05059, allocations: 1.185 MB / 348.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0067/0.05729, allocations: 3.332 MB / 351.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.05958, allocations: 1.131 MB / 353 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000992/0.06057, allocations: 460 kB / 353.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.06071, allocations: 40.97 kB / 353.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.06075, allocations: 47.55 kB / 353.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.256e-06/0.06075, allocations: 0 / 353.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.01152/0.07227, allocations: 3.541 MB / 357.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.07234, allocations: 94.11 kB / 357.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.0729, allocations: 381.3 kB / 357.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.07298, allocations: 49.69 kB / 357.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.0733, allocations: 476.5 kB / 358.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.07367, allocations: 444.2 kB / 358.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.07405, allocations: 223.5 kB / 358.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.07423, allocations: 370.8 kB / 359.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.07538, allocations: 439.7 kB / 359.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.07677, allocations: 0.7208 MB / 360.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.07934, allocations: 1.175 MB / 361.4 MB, free: 132 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.07935, allocations: 8 kB / 361.4 MB, free: 124 kB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003422/0.08277, allocations: 1.459 MB / 362.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.0828, allocations: 12.28 kB / 362.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.08281, allocations: 8 kB / 362.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/0.08343, allocations: 201.4 kB / 363.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.08476, allocations: 287.5 kB / 363.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004673/0.08944, allocations: 4.064 MB / 367.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.09042, allocations: 71.95 kB / 367.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.09055, allocations: 51.98 kB / 367.6 MB, free: 9.758 MB / 334.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.0004741/0.09103, allocations: 276.6 kB / 367.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.09121, allocations: 75.59 kB / 367.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.0946, allocations: 1.323 MB / 369.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.09462, allocations: 12 kB / 369.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.09463, allocations: 7.984 kB / 369.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.09464, allocations: 3.984 kB / 369.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.09966, allocations: 2.185 MB / 371.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.09967, allocations: 128 / 371.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.1007, allocations: 215.7 kB / 371.6 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/0.1012, allocations: 165.5 kB / 371.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.169e-05/0.1013, allocations: 28.17 kB / 371.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.1057, allocations: 3.893 MB / 375.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1057, allocations: 4.031 kB / 375.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/0.1101, allocations: 1.873 MB / 377.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.1105, allocations: 147.5 kB / 377.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.1106, allocations: 20 kB / 377.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.1114, allocations: 59.94 kB / 377.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.1116, allocations: 96.77 kB / 377.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/0.1117, allocations: 39.92 kB / 378 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003172/0.112, allocations: 255.2 kB / 378.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.112, allocations: 4.062 kB / 378.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001236/0.1132, allocations: 311.9 kB / 378.5 MB, free: 14.48 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.0003595/0.1136, allocations: 167 kB / 378.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003202/0.1168, allocations: 1.387 MB / 380.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1168, allocations: 0 / 380.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.1184, allocations: 0.8192 MB / 380.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.119, allocations: 66.95 kB / 380.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.1231, allocations: 1.835 MB / 382.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1236, allocations: 416.3 kB / 383.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.1242, allocations: 146.6 kB / 383.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.1244, allocations: 76.47 kB / 383.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1244, allocations: 192 / 383.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of Templates: time 0.0204/0.1448, allocations: 10.23 MB / 393.6 MB, free: 15.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.936068959534168]