Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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 trunk/package.mo", uses=false) 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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 62.36 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09339, allocations: 50.54 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004277/0.09771, allocations: 2.814 MB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.09912, allocations: 0.7866 MB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.09927, allocations: 11.94 kB / 362.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.09948, allocations: 63.42 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.09974, allocations: 95.19 kB / 362.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1, allocations: 103.9 kB / 362.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.1004, allocations: 398.5 kB / 363.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.1006, allocations: 126.9 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.1009, allocations: 159.4 kB / 363.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1011, allocations: 167.2 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.1012, allocations: 36 kB / 363.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.181e-05/0.1012, allocations: 36 kB / 363.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1013, allocations: 75.75 kB / 363.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.1015, allocations: 186.9 kB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.1018, allocations: 390.6 kB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1019, allocations: 3.938 kB / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1019, allocations: 0 / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1019, allocations: 0 / 364.3 MB, free: 7.93 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001192/0.1031, allocations: 0.6432 MB / 365 MB, free: 7.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1031, allocations: 8.031 kB / 365 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.1032, allocations: 36.47 kB / 365 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.1036, allocations: 276.6 kB / 365.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.1036, allocations: 25.03 kB / 365.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.1037, allocations: 32.38 kB / 365.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.1043, allocations: 290.3 kB / 365.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1043, allocations: 0 / 365.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.1044, allocations: 16 kB / 365.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1044, allocations: 8 kB / 365.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.105, allocations: 254.4 kB / 365.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.1065, allocations: 1.104 MB / 367 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1069, allocations: 162.2 kB / 367.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1071, allocations: 60.83 kB / 367.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.1071, allocations: 7.891 kB / 367.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1071, allocations: 38.56 kB / 367.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.1072, allocations: 4 kB / 367.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001921/0.1091, allocations: 0.5824 MB / 367.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.1091, allocations: 55.41 kB / 367.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.1094, allocations: 278.5 kB / 368.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1094, allocations: 25.7 kB / 368.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1095, allocations: 223.5 kB / 368.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.1096, allocations: 78.89 kB / 368.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.1097, allocations: 65.39 kB / 368.6 MB, free: 3.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1098, allocations: 342.8 kB / 368.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.1101, allocations: 99.92 kB / 369 MB, free: 2.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1104, allocations: 188.1 kB / 369.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.111, allocations: 306.8 kB / 369.5 MB, free: 2.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.111, allocations: 0 / 369.5 MB, free: 2.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007763/0.1118, allocations: 393.3 kB / 369.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1118, allocations: 4 kB / 369.9 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1118, allocations: 4 kB / 369.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.1121, allocations: 69.62 kB / 369.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1124, allocations: 75.89 kB / 370 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1667/0.2791, allocations: 2.824 MB / 372.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.2795, allocations: 23.91 kB / 372.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.2796, allocations: 18.91 kB / 372.9 MB, free: 18.59 MB / 302.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 (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.0001669/0.2797, allocations: 158.6 kB / 373 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.2798, allocations: 24.78 kB / 373.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.2799, allocations: 29.91 kB / 373.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2799, allocations: 3.094 kB / 373.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2799, allocations: 1.062 kB / 373.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2799, allocations: 2.578 kB / 373.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.2803, allocations: 332.4 kB / 373.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2804, allocations: 1.344 kB / 373.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.2806, allocations: 43.78 kB / 373.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.2808, allocations: 51.42 kB / 373.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.2808, allocations: 5.344 kB / 373.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.2822, allocations: 2.833 MB / 376.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2823, allocations: 0 / 376.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.283, allocations: 382.8 kB / 376.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.283, allocations: 97.92 kB / 376.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.2831, allocations: 6.594 kB / 376.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2833, allocations: 15.69 kB / 376.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.2834, allocations: 18.66 kB / 376.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2834, allocations: 8.375 kB / 376.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.2836, allocations: 189.1 kB / 377.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2836, allocations: 0 / 377.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.284, allocations: 73.22 kB / 377.1 MB, free: 15.28 MB / 302.1 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.0001151/0.2841, allocations: 103 kB / 377.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.285, allocations: 485.3 kB / 377.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.285, allocations: 5.203 kB / 377.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.2854, allocations: 343.4 kB / 378 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.2858, allocations: 31.55 kB / 378.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.2868, allocations: 0.5489 MB / 378.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.287, allocations: 0.7712 MB / 379.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.2871, allocations: 27.03 kB / 379.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.2872, allocations: 20.61 kB / 379.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2872, allocations: 0 / 379.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of Templates: time 0.006436/0.2937, allocations: 2.711 MB / 382.1 MB, free: 13.57 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches