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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=1000,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=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001683, allocations: 111.5 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 214.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 227.7 MB / 247.9 MB, free: 10.3 MB / 206.1 MB 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.001911/0.001911, allocations: 55.91 kB / 359.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2243, allocations: 50.54 MB / 410.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004786/0.2291, allocations: 3.531 MB / 413.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2309, allocations: 0.962 MB / 414.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.2311, allocations: 8 kB / 414.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.2313, allocations: 99.08 kB / 414.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.2317, allocations: 166.7 kB / 415 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.2321, allocations: 175.7 kB / 415.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006477/0.2327, allocations: 0.6387 MB / 415.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.233, allocations: 137.5 kB / 415.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.2332, allocations: 235.1 kB / 416.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.2336, allocations: 278.6 kB / 416.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.923e-05/0.2336, allocations: 52 kB / 416.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.2337, allocations: 56 kB / 416.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2338, allocations: 119.5 kB / 416.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2341, allocations: 294.4 kB / 416.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.2348, allocations: 0.6376 MB / 417.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2348, allocations: 0 / 417.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2348, allocations: 0 / 417.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2348, allocations: 0 / 417.6 MB, free: 10.12 MB / 334.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.001535/0.2363, allocations: 0.8764 MB / 418.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2363, allocations: 8.031 kB / 418.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.2365, allocations: 68.52 kB / 418.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.237, allocations: 355.9 kB / 418.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.237, allocations: 37.69 kB / 418.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.2371, allocations: 48.38 kB / 418.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008366/0.2379, allocations: 438.4 kB / 419.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2379, allocations: 0 / 419.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.238, allocations: 20 kB / 419.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.238, allocations: 12 kB / 419.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/0.2389, allocations: 401 kB / 419.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.2414, allocations: 1.581 MB / 421.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.2421, allocations: 389.4 kB / 421.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.2426, allocations: 164.9 kB / 421.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.2426, allocations: 4.328 kB / 421.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2426, allocations: 34.89 kB / 422 MB, free: 5.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.2426, allocations: 0 / 422 MB, free: 5.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003774/0.2464, allocations: 1.2 MB / 423.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.2465, allocations: 59.97 kB / 423.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.2471, allocations: 405.6 kB / 423.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.2471, allocations: 33.7 kB / 423.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.2474, allocations: 316.7 kB / 424 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.2476, allocations: 198.3 kB / 424.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.2478, allocations: 118.2 kB / 424.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.248, allocations: 358.7 kB / 424.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.2485, allocations: 181.2 kB / 424.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.249, allocations: 303 kB / 425.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/0.25, allocations: 494.5 kB / 425.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.25, allocations: 0 / 425.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001502/0.2515, allocations: 0.7423 MB / 426.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2515, allocations: 4 kB / 426.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.2515, allocations: 4 kB / 426.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/0.2521, allocations: 184.6 kB / 426.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.2525, allocations: 111.8 kB / 426.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/0.257, allocations: 4.278 MB / 430.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.2575, allocations: 39.98 kB / 430.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.2575, allocations: 24 kB / 430.9 MB, free: 12.04 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.0002496/0.2578, allocations: 170.8 kB / 431.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.2579, allocations: 55.61 kB / 431.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.258, allocations: 69 kB / 431.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.258, allocations: 4 kB / 431.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.258, allocations: 8 kB / 431.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.258, allocations: 0 / 431.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.2604, allocations: 1.292 MB / 432.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2604, allocations: 4.062 kB / 432.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.2607, allocations: 71.95 kB / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.2611, allocations: 165.5 kB / 432.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.2611, allocations: 8 kB / 432.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.2651, allocations: 4.1 MB / 436.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2651, allocations: 8.062 kB / 436.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.2664, allocations: 0.7016 MB / 437.6 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2665, allocations: 124.7 kB / 437.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.2665, allocations: 16 kB / 437.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.2668, allocations: 27.97 kB / 437.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2669, allocations: 40.38 kB / 437.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.267, allocations: 12 kB / 437.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.2673, allocations: 283.2 kB / 438.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2673, allocations: 0 / 438.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006964/0.268, allocations: 152 kB / 438.2 MB, free: 4.348 MB / 350.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.0001366/0.2681, allocations: 119.2 kB / 438.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.2697, allocations: 0.7611 MB / 439.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2697, allocations: 0 / 439.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008103/0.2705, allocations: 0.5123 MB / 439.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.2709, allocations: 43.62 kB / 439.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.2726, allocations: 0.9698 MB / 440.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.2731, allocations: 0.8631 MB / 441.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.2733, allocations: 48.3 kB / 441.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.2734, allocations: 35.44 kB / 441.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2734, allocations: 0 / 441.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Templates: time 0.01118/0.2846, allocations: 5.202 MB / 446.8 MB, free: 11.66 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches