Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 191.9 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007631/0.0007634, allocations: 98.69 kB / 299.9 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002412/0.0002412, allocations: 8 kB / 360.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1965, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002175/0.1987, allocations: 2.384 MB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.1996, allocations: 0.8871 MB / 415.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1998, allocations: 4 kB / 415.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.1999, allocations: 53.53 kB / 415.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.2001, allocations: 79.42 kB / 415.5 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.2003, allocations: 85.11 kB / 415.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.2006, allocations: 375.2 kB / 415.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.2007, allocations: 107.5 kB / 416 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.201, allocations: 139.4 kB / 416.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.2011, allocations: 147.3 kB / 416.3 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.2011, allocations: 20 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.2012, allocations: 20 kB / 416.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.2013, allocations: 63.69 kB / 416.4 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2014, allocations: 180.8 kB / 416.6 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.2016, allocations: 368.1 kB / 416.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2016, allocations: 0 / 416.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2016, allocations: 0 / 416.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2016, allocations: 0 / 416.9 MB, free: 20.94 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008394/0.2025, allocations: 0.5965 MB / 417.5 MB, free: 20.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2025, allocations: 8.031 kB / 417.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.2026, allocations: 44.47 kB / 417.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2028, allocations: 268 kB / 417.8 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.2028, allocations: 25.03 kB / 417.9 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2029, allocations: 28.38 kB / 417.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.2034, allocations: 306.3 kB / 418.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2034, allocations: 7.938 kB / 418.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.2034, allocations: 15.98 kB / 418.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2034, allocations: 8 kB / 418.2 MB, free: 19.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.204, allocations: 274.4 kB / 418.5 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2053, allocations: 1.116 MB / 419.6 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.2057, allocations: 158.5 kB / 419.8 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2058, allocations: 72.83 kB / 419.8 MB, free: 17.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2059, allocations: 4 kB / 419.8 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.2059, allocations: 34.5 kB / 419.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.2059, allocations: 0 / 419.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001829/0.2077, allocations: 0.6678 MB / 420.5 MB, free: 17.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.2078, allocations: 67.27 kB / 420.6 MB, free: 17.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.208, allocations: 258.6 kB / 420.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.208, allocations: 29.7 kB / 420.9 MB, free: 16.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.2081, allocations: 227.5 kB / 421.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.2081, allocations: 78.92 kB / 421.2 MB, free: 16.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.2081, allocations: 8 kB / 421.2 MB, free: 16.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.2082, allocations: 334.8 kB / 421.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.2084, allocations: 107.9 kB / 421.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.2087, allocations: 204 kB / 421.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.2093, allocations: 317.4 kB / 422.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2093, allocations: 4 kB / 422.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007096/0.21, allocations: 409.3 kB / 422.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.21, allocations: 12 kB / 422.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.21, allocations: 4 kB / 422.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.2103, allocations: 61.66 kB / 422.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.2106, allocations: 75.89 kB / 422.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.2118, allocations: 2.639 MB / 425.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.212, allocations: 28.05 kB / 425.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2121, allocations: 19.94 kB / 425.4 MB, free: 11.86 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.2122, allocations: 149.7 kB / 425.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.2122, allocations: 27.66 kB / 425.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.2123, allocations: 30.17 kB / 425.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2123, allocations: 4 kB / 425.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2123, allocations: 0 / 425.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2123, allocations: 11.98 kB / 425.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2126, allocations: 325.5 kB / 425.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2126, allocations: 0 / 425.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.2128, allocations: 47.91 kB / 426 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.2129, allocations: 57.61 kB / 426 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.213, allocations: 8 kB / 426 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2141, allocations: 2.631 MB / 428.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2141, allocations: 4.125 kB / 428.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.2147, allocations: 392.6 kB / 429 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.2147, allocations: 96.81 kB / 429.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.2148, allocations: 8 kB / 429.1 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.215, allocations: 23.98 kB / 429.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.215, allocations: 19.97 kB / 429.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2151, allocations: 4 kB / 429.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.2152, allocations: 186 kB / 429.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2152, allocations: 0 / 429.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.2155, allocations: 72 kB / 429.4 MB, free: 7.422 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001068/0.2156, allocations: 117.6 kB / 429.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007615/0.2164, allocations: 496.9 kB / 430 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2164, allocations: 4 kB / 430.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.2168, allocations: 354.1 kB / 430.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2172, allocations: 24.55 kB / 430.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.218, allocations: 0.7175 MB / 431.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2181, allocations: 0.7753 MB / 431.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.2183, allocations: 26.28 kB / 431.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.2183, allocations: 19.44 kB / 432 MB, free: 4.801 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2184, allocations: 0 / 432 MB, free: 4.801 MB / 298.7 MB Notification: Performance of Templates: time 0.004809/0.2232, allocations: 2.5 MB / 434.5 MB, free: 2.309 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches