Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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) 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 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(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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4014/0.4014, allocations: 46.13 MB / 345 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 83.86 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3508, allocations: 62.44 MB / 0.5317 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003002/0.3538, allocations: 1.741 MB / 0.5334 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001865/0.354, allocations: 88.19 kB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.354, allocations: 2.312 kB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.336e-05/0.3541, allocations: 13.08 kB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.3541, allocations: 19.08 kB / 0.5335 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.3543, allocations: 31.14 kB / 0.5335 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3544, allocations: 105.7 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3546, allocations: 37.72 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/0.3546, allocations: 48.34 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.3547, allocations: 56.14 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3548, allocations: 11 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.3548, allocations: 11 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.3548, allocations: 22.67 kB / 0.5338 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.3549, allocations: 45.55 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3551, allocations: 118.2 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3551, allocations: 0 / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3551, allocations: 0 / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3551, allocations: 5.312 kB / 0.534 GB, free: 11.75 MB / 398.1 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.0007117/0.3558, allocations: 428.3 kB / 0.5344 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3558, allocations: 9.625 kB / 0.5344 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.3558, allocations: 10.39 kB / 0.5344 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.356, allocations: 171 kB / 0.5346 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.356, allocations: 8.5 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.356, allocations: 11.25 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.3564, allocations: 130.7 kB / 0.5347 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3564, allocations: 192 / 0.5347 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.3564, allocations: 9.312 kB / 0.5347 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3564, allocations: 6.688 kB / 0.5347 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.3567, allocations: 109.4 kB / 0.5348 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/0.3576, allocations: 473.2 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.3578, allocations: 82.06 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.3581, allocations: 54.84 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3581, allocations: 9.266 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3581, allocations: 40.08 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3581, allocations: 0 / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000844/0.359, allocations: 271 kB / 0.5357 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.359, allocations: 52.5 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3591, allocations: 117.6 kB / 0.5359 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3591, allocations: 26.8 kB / 0.5359 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.3592, allocations: 108.5 kB / 0.536 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3593, allocations: 18.23 kB / 0.536 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.3593, allocations: 22.77 kB / 0.5361 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3595, allocations: 321.1 kB / 0.5364 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3596, allocations: 44.25 kB / 0.5364 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3598, allocations: 52.44 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.3602, allocations: 98.27 kB / 0.5366 GB, free: 9.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3602, allocations: 3.938 kB / 0.5366 GB, free: 9.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000452/0.3606, allocations: 154 kB / 0.5367 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3606, allocations: 5.5 kB / 0.5367 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3606, allocations: 1.375 kB / 0.5367 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.3608, allocations: 23.84 kB / 0.5367 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.361, allocations: 16.36 kB / 0.5367 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3626, allocations: 1.401 MB / 0.5381 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3627, allocations: 12.92 kB / 0.5381 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3627, allocations: 5.344 kB / 0.5381 GB, free: 7.785 MB / 398.1 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 0.0001624/0.3629, allocations: 123.3 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.3629, allocations: 10.3 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.3629, allocations: 19.17 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3629, allocations: 0 / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3629, allocations: 1.422 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.363, allocations: 3.984 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/0.3638, allocations: 425.9 kB / 0.5387 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3638, allocations: 1 kB / 0.5387 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.3639, allocations: 14.89 kB / 0.5387 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.79e-05/0.364, allocations: 23.78 kB / 0.5387 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.364, allocations: 0 / 0.5387 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.3652, allocations: 1.407 MB / 0.5401 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3652, allocations: 1.188 kB / 0.5401 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.3658, allocations: 249.8 kB / 0.5403 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.3658, allocations: 87.53 kB / 0.5404 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3658, allocations: 1.156 kB / 0.5404 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3659, allocations: 14.58 kB / 0.5404 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.366, allocations: 11.14 kB / 0.5405 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.366, allocations: 1.969 kB / 0.5405 GB, free: 5.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.3661, allocations: 93.48 kB / 0.5405 GB, free: 5.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3661, allocations: 0 / 0.5405 GB, free: 5.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.3664, allocations: 34.92 kB / 0.5406 GB, free: 5.316 MB / 398.1 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 0.0001054/0.3665, allocations: 95.97 kB / 0.5407 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.367, allocations: 199.9 kB / 0.5409 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.367, allocations: 1.094 kB / 0.5409 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.3673, allocations: 165.3 kB / 0.541 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3676, allocations: 13.88 kB / 0.541 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.368, allocations: 205 kB / 0.5412 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3684, allocations: 0.7019 MB / 0.5419 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.3684, allocations: 12.77 kB / 0.5419 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.3684, allocations: 10.31 kB / 0.5419 GB, free: 4.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3684, allocations: 0 / 0.5419 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Templates: time 0.003933/0.3724, allocations: 1.125 MB / 0.543 GB, free: 3.445 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches