Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009322/0.0009322, allocations: 203.1 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007227/0.0007227, allocations: 103.3 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002154, allocations: 8 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2044, allocations: 51.41 MB / 412 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.002717/0.2071, allocations: 3.004 MB / 415.1 MB, free: 22.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2085, allocations: 1.071 MB / 416.1 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.2087, allocations: 4 kB / 416.1 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.2089, allocations: 76.08 kB / 416.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.2092, allocations: 128.5 kB / 416.3 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.2095, allocations: 143.8 kB / 416.5 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.2099, allocations: 0.6075 MB / 417.1 MB, free: 20.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.2101, allocations: 158.3 kB / 417.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.2104, allocations: 223 kB / 417.4 MB, free: 20.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.2106, allocations: 242.8 kB / 417.7 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.2106, allocations: 28 kB / 417.7 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.2107, allocations: 28 kB / 417.7 MB, free: 20.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.2108, allocations: 95.55 kB / 417.8 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2109, allocations: 276.2 kB / 418.1 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.2113, allocations: 0.6006 MB / 418.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2113, allocations: 4 kB / 418.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2113, allocations: 0 / 418.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2113, allocations: 0 / 418.7 MB, free: 19.21 MB / 298.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.00118/0.2125, allocations: 0.7642 MB / 419.5 MB, free: 18.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2126, allocations: 12.03 kB / 419.5 MB, free: 18.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.2127, allocations: 60.19 kB / 419.5 MB, free: 18.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.213, allocations: 343.2 kB / 419.9 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.213, allocations: 41.69 kB / 419.9 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.2131, allocations: 48.38 kB / 420 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.2138, allocations: 454.4 kB / 420.4 MB, free: 17.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2138, allocations: 0 / 420.4 MB, free: 17.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.2139, allocations: 20 kB / 420.4 MB, free: 17.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2139, allocations: 12 kB / 420.4 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.2146, allocations: 409 kB / 420.8 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.2167, allocations: 1.593 MB / 422.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.2173, allocations: 405.4 kB / 422.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.2177, allocations: 189.4 kB / 423 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.2178, allocations: 8.328 kB / 423 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.2178, allocations: 34.89 kB / 423.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.2178, allocations: 0 / 423.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002966/0.2208, allocations: 1.282 MB / 424.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.2208, allocations: 59.97 kB / 424.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.2211, allocations: 393.5 kB / 424.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2212, allocations: 33.7 kB / 424.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2213, allocations: 299.9 kB / 425.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.2214, allocations: 193.2 kB / 425.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.2214, allocations: 20 kB / 425.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.2215, allocations: 354.8 kB / 425.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.2218, allocations: 193.1 kB / 425.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.2223, allocations: 311 kB / 426.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.2231, allocations: 0.4985 MB / 426.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2231, allocations: 0 / 426.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001253/0.2243, allocations: 0.7614 MB / 427.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2244, allocations: 8 kB / 427.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2244, allocations: 4 kB / 427.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.2249, allocations: 185.6 kB / 427.6 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.2254, allocations: 119.8 kB / 427.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.2283, allocations: 3.861 MB / 431.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.2288, allocations: 40.05 kB / 431.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.2288, allocations: 23.98 kB / 431.6 MB, free: 5.594 MB / 298.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.0001778/0.229, allocations: 185.6 kB / 431.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.2291, allocations: 47.44 kB / 431.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.2292, allocations: 57.03 kB / 431.9 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2292, allocations: 8 kB / 431.9 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.2292, allocations: 4 kB / 431.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2292, allocations: 7.984 kB / 432 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.231, allocations: 1.32 MB / 433.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.231, allocations: 0 / 433.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.2313, allocations: 80.02 kB / 433.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.2317, allocations: 157.5 kB / 433.5 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2317, allocations: 8 kB / 433.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.2343, allocations: 3.713 MB / 437.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2343, allocations: 4.062 kB / 437.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2355, allocations: 0.712 MB / 437.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.2356, allocations: 124.5 kB / 438.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.2356, allocations: 12 kB / 438.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.2359, allocations: 31.97 kB / 438.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.2361, allocations: 48.31 kB / 438.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.2361, allocations: 16 kB / 438.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002783/0.2364, allocations: 271.2 kB / 438.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.2364, allocations: 4.109 kB / 438.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006577/0.237, allocations: 151.9 kB / 438.6 MB, free: 14.24 MB / 314.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 0.0001354/0.2372, allocations: 119.2 kB / 438.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.2386, allocations: 0.7971 MB / 439.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2386, allocations: 4.062 kB / 439.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007739/0.2394, allocations: 0.535 MB / 440 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.2399, allocations: 41.5 kB / 440.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.2416, allocations: 1.207 MB / 441.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.242, allocations: 0.8631 MB / 442.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.2422, allocations: 44.36 kB / 442.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.2423, allocations: 35.44 kB / 442.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2423, allocations: 0 / 442.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of Templates: time 0.008935/0.2513, allocations: 4.643 MB / 446.9 MB, free: 5.836 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches