Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.86 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3533/0.3533, allocations: 44.12 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 55.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3837, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003185/0.3869, allocations: 1.771 MB / 0.5081 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.3871, allocations: 90.66 kB / 0.5082 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.3872, allocations: 3.094 kB / 0.5082 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.207e-05/0.3873, allocations: 10.27 kB / 0.5082 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.3873, allocations: 15.09 kB / 0.5082 GB, free: 37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.421e-05/0.3874, allocations: 22.17 kB / 0.5083 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3876, allocations: 104.1 kB / 0.5083 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3877, allocations: 50.66 kB / 0.5084 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.3878, allocations: 42.3 kB / 0.5084 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.3879, allocations: 49.56 kB / 0.5085 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3879, allocations: 9.125 kB / 0.5085 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.3879, allocations: 8.188 kB / 0.5085 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.388, allocations: 21.12 kB / 0.5085 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.388, allocations: 44.44 kB / 0.5086 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3882, allocations: 117.1 kB / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3882, allocations: 1.156 kB / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3882, allocations: 0 / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.3882, allocations: 0 / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006063/0.3888, allocations: 421.7 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3889, allocations: 8.875 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3889, allocations: 10.44 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.389, allocations: 180.6 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.389, allocations: 3.938 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.3891, allocations: 10.97 kB / 0.5093 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.3894, allocations: 130.1 kB / 0.5094 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3895, allocations: 192 / 0.5094 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3895, allocations: 3.938 kB / 0.5094 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3895, allocations: 2.844 kB / 0.5094 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.3898, allocations: 114.7 kB / 0.5095 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.3905, allocations: 476.3 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3907, allocations: 89.22 kB / 0.5101 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.391, allocations: 60.17 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.391, allocations: 0 / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.391, allocations: 33.47 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.391, allocations: 3.938 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007705/0.3918, allocations: 265.4 kB / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3919, allocations: 51.41 kB / 0.5105 GB, free: 35.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/0.3919, allocations: 124.6 kB / 0.5106 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.392, allocations: 33.58 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.392, allocations: 108.3 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.392, allocations: 25.61 kB / 0.5107 GB, free: 35.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3921, allocations: 23.41 kB / 0.5108 GB, free: 35.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.3921, allocations: 318.2 kB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3923, allocations: 34.78 kB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3924, allocations: 62.56 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.3927, allocations: 97.78 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3927, allocations: 3.938 kB / 0.5113 GB, free: 34.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003552/0.3931, allocations: 150.5 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3931, allocations: 7.594 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3931, allocations: 0 / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.3933, allocations: 26.62 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3934, allocations: 15.28 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007289/0.3941, allocations: 1.305 MB / 0.5127 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.3942, allocations: 18.38 kB / 0.5127 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3942, allocations: 6.453 kB / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.3943, allocations: 119.7 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3944, allocations: 6.469 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.3944, allocations: 11.61 kB / 0.5129 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3944, allocations: 7.922 kB / 0.5129 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.3944, allocations: 64 / 0.5129 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3944, allocations: 7.188 kB / 0.5129 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.395, allocations: 423.5 kB / 0.5133 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.395, allocations: 0 / 0.5133 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.3951, allocations: 17.83 kB / 0.5133 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.642e-05/0.3951, allocations: 26.73 kB / 0.5133 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.3952, allocations: 0 / 0.5133 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005488/0.3957, allocations: 1.296 MB / 0.5146 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3957, allocations: 8 kB / 0.5146 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.3964, allocations: 0.8346 MB / 0.5154 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.3964, allocations: 83.95 kB / 0.5155 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.3964, allocations: 0 / 0.5155 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3965, allocations: 15.33 kB / 0.5155 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.3966, allocations: 6.203 kB / 0.5155 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3966, allocations: 4 kB / 0.5155 GB, free: 30.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.3966, allocations: 98.09 kB / 0.5156 GB, free: 30.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.3966, allocations: 4 kB / 0.5156 GB, free: 30.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.397, allocations: 29.44 kB / 0.5157 GB, free: 30.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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 8.72e-05/0.3971, allocations: 98.25 kB / 0.5157 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004607/0.3975, allocations: 205.5 kB / 0.5159 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3976, allocations: 4 kB / 0.5159 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.3978, allocations: 166.2 kB / 0.5161 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3981, allocations: 7.547 kB / 0.5161 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.3986, allocations: 360.9 kB / 0.5165 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3988, allocations: 0.7094 MB / 0.5171 GB, free: 29.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.3988, allocations: 0 / 0.5171 GB, free: 29.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.3989, allocations: 14.25 kB / 0.5172 GB, free: 29 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3989, allocations: 0 / 0.5172 GB, free: 29 MB / 378.7 MB Notification: Performance of Templates: time 0.003394/0.4023, allocations: 1 MB / 0.5181 GB, free: 28.9 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches