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.001687/0.001687, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001938/0.001938, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 64 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09367, allocations: 50.54 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004332/0.09805, allocations: 2.802 MB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.09937, allocations: 0.7905 MB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.09952, allocations: 4 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.09975, allocations: 63.42 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.1, allocations: 107.2 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1003, allocations: 103.8 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.1007, allocations: 390.5 kB / 361.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.1009, allocations: 130.9 kB / 361.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.1012, allocations: 163.4 kB / 362.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1014, allocations: 163.2 kB / 362.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.1015, allocations: 32 kB / 362.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.1016, allocations: 32 kB / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.1017, allocations: 83.73 kB / 362.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1018, allocations: 175.1 kB / 362.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.1022, allocations: 398.7 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1022, allocations: 0 / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1022, allocations: 0 / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1022, allocations: 0 / 362.9 MB, free: 8.625 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.001164/0.1034, allocations: 0.6393 MB / 363.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1034, allocations: 12.03 kB / 363.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.1035, allocations: 36.47 kB / 363.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1039, allocations: 272.6 kB / 363.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.1039, allocations: 21.03 kB / 363.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.104, allocations: 32.38 kB / 363.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.1046, allocations: 290.4 kB / 364.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1046, allocations: 3.984 kB / 364.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.1046, allocations: 12 kB / 364.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1046, allocations: 8 kB / 364.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.1053, allocations: 262.3 kB / 364.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.107, allocations: 1.112 MB / 365.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.1074, allocations: 150.5 kB / 365.8 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.1076, allocations: 72.81 kB / 365.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1077, allocations: 7.891 kB / 365.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.1077, allocations: 42.5 kB / 365.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.1077, allocations: 0 / 365.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002083/0.1098, allocations: 0.5813 MB / 366.5 MB, free: 4.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1099, allocations: 59.41 kB / 366.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1102, allocations: 278.4 kB / 366.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1102, allocations: 29.7 kB / 366.8 MB, free: 4.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1104, allocations: 223.5 kB / 367 MB, free: 4.262 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.1104, allocations: 74.89 kB / 367.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1106, allocations: 69.61 kB / 367.2 MB, free: 4.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1107, allocations: 334.8 kB / 367.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.111, allocations: 99.7 kB / 367.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.1114, allocations: 188.2 kB / 367.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.1121, allocations: 302.8 kB / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1121, allocations: 0 / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009187/0.113, allocations: 392.9 kB / 368.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.113, allocations: 12.34 kB / 368.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.113, allocations: 8 kB / 368.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.1133, allocations: 57.67 kB / 368.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.1136, allocations: 71.89 kB / 368.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.159/0.2727, allocations: 2.824 MB / 371.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.2731, allocations: 29 kB / 371.5 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.2731, allocations: 17.2 kB / 371.5 MB, free: 18.89 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.000166/0.2733, allocations: 151.7 kB / 371.6 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.2734, allocations: 31.11 kB / 371.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.2735, allocations: 37.41 kB / 371.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2735, allocations: 2.562 kB / 371.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2735, allocations: 3.031 kB / 371.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2735, allocations: 0.8438 kB / 371.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.2739, allocations: 329.1 kB / 372 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2739, allocations: 3.375 kB / 372 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.2741, allocations: 38.17 kB / 372.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.2743, allocations: 65.05 kB / 372.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2743, allocations: 1.406 kB / 372.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.2758, allocations: 2.835 MB / 375 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2758, allocations: 1.516 kB / 375 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.2765, allocations: 368.4 kB / 375.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.2766, allocations: 107.3 kB / 375.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.2766, allocations: 1.703 kB / 375.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2769, allocations: 19.88 kB / 375.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.2769, allocations: 15.39 kB / 375.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.2769, allocations: 8.844 kB / 375.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.2771, allocations: 189.2 kB / 375.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2771, allocations: 3.938 kB / 375.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.2775, allocations: 69.16 kB / 375.7 MB, free: 15.58 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.000103/0.2776, allocations: 105.5 kB / 375.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.2786, allocations: 491.8 kB / 376.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2786, allocations: 0.625 kB / 376.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.2791, allocations: 345.2 kB / 376.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.2795, allocations: 28.31 kB / 376.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2805, allocations: 0.5454 MB / 377.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.2808, allocations: 0.7766 MB / 378 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.2809, allocations: 29.17 kB / 378 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.281, allocations: 21.58 kB / 378.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.281, allocations: 1.156 kB / 378.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Templates: time 0.006896/0.2879, allocations: 2.72 MB / 380.8 MB, free: 13.89 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 -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.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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