Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009506/0.0009507, allocations: 194.4 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007706/0.0007705, allocations: 107.4 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3166/0.3166, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.0002301, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2726, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3738, allocations: 91.11 MB / 0.6054 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.3741, allocations: 83.89 kB / 0.6055 GB, free: 14.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02141/0.3955, allocations: 9.811 MB / 0.6151 GB, free: 4.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3955, allocations: 0 / 0.6151 GB, free: 4.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3956, allocations: 4 kB / 0.6151 GB, free: 4.227 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009597/0.3965, allocations: 0.5655 MB / 0.6157 GB, free: 3.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3966, allocations: 12.03 kB / 0.6157 GB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.3969, allocations: 52.56 kB / 0.6157 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.397, allocations: 192 kB / 0.6159 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.397, allocations: 20.94 kB / 0.6159 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.3971, allocations: 24.38 kB / 0.616 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.3976, allocations: 299.7 kB / 0.6162 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3976, allocations: 0 / 0.6162 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.3977, allocations: 8 kB / 0.6162 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3977, allocations: 8 kB / 0.6163 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/0.3982, allocations: 257.5 kB / 0.6165 GB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.3996, allocations: 1.011 MB / 0.6175 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.4001, allocations: 398 kB / 0.6179 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.4004, allocations: 141.6 kB / 0.618 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.4005, allocations: 170.2 kB / 0.6182 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4006, allocations: 38.5 kB / 0.6182 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.4006, allocations: 0 / 0.6182 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001155/0.4017, allocations: 0.5444 MB / 0.6187 GB, free: 200 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4018, allocations: 77.11 kB / 0.6188 GB, free: 104 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.4019, allocations: 136.3 kB / 0.6189 GB, free: 15.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4019, allocations: 37.7 kB / 0.619 GB, free: 15.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.402, allocations: 148 kB / 0.6191 GB, free: 15.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.4021, allocations: 63.09 kB / 0.6192 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.4021, allocations: 7.938 kB / 0.6192 GB, free: 15.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.4022, allocations: 322.8 kB / 0.6195 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.4024, allocations: 83.95 kB / 0.6196 GB, free: 15.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.4026, allocations: 121.1 kB / 0.6197 GB, free: 15.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.4031, allocations: 215.6 kB / 0.6199 GB, free: 14.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.4031, allocations: 0 / 0.6199 GB, free: 14.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005751/0.4036, allocations: 302.8 kB / 0.6202 GB, free: 14.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4037, allocations: 8.125 kB / 0.6202 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4037, allocations: 4 kB / 0.6202 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.4039, allocations: 57.61 kB / 0.6202 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.4041, allocations: 47.97 kB / 0.6203 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.4058, allocations: 2.663 MB / 0.6229 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4059, allocations: 31.83 kB / 0.6229 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.406, allocations: 4 kB / 0.6229 GB, free: 11.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.4061, allocations: 137.9 kB / 0.6231 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.4061, allocations: 15.75 kB / 0.6231 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.4068, allocations: 292.2 kB / 0.6234 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4068, allocations: 7.938 kB / 0.6234 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.4068, allocations: 0 / 0.6234 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4068, allocations: 7.938 kB / 0.6234 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4079, allocations: 0.6771 MB / 0.624 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4079, allocations: 0 / 0.624 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.4081, allocations: 43.97 kB / 0.6241 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.4082, allocations: 49.75 kB / 0.6241 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.4082, allocations: 8 kB / 0.6241 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.4098, allocations: 2.642 MB / 0.6267 GB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4098, allocations: 3.938 kB / 0.6267 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008306/0.4107, allocations: 0.5506 MB / 0.6272 GB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.4107, allocations: 96.88 kB / 0.6273 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.4108, allocations: 11.98 kB / 0.6274 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.4109, allocations: 19.92 kB / 0.6274 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.411, allocations: 23.91 kB / 0.6274 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.411, allocations: 16.06 kB / 0.6274 GB, free: 6.539 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.4111, allocations: 105.9 kB / 0.6275 GB, free: 6.438 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4111, allocations: 0 / 0.6275 GB, free: 6.438 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.4115, allocations: 79.77 kB / 0.6276 GB, free: 6.359 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/0.4117, allocations: 131.2 kB / 0.6277 GB, free: 6.223 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006782/0.4124, allocations: 441.2 kB / 0.6281 GB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4124, allocations: 4 kB / 0.6281 GB, free: 5.762 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.4128, allocations: 329.5 kB / 0.6284 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.4131, allocations: 24.69 kB / 0.6285 GB, free: 5.395 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.414, allocations: 0.5937 MB / 0.6291 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.4142, allocations: 0.736 MB / 0.6298 GB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.4143, allocations: 19.44 kB / 0.6298 GB, free: 3.977 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4143, allocations: 4 kB / 0.6298 GB, free: 3.973 MB / 442.7 MB Notification: Performance of Templates: time 0.005333/0.4196, allocations: 4.305 MB / 0.634 GB, free: 15.67 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches