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/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.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/Complex trunk/package.mo): time 0.0009886/0.0009886, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008438/0.000844, allocations: 98.86 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.165/0.165, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.428e-05, allocations: 7.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09613, allocations: 63.25 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3173/0.4135, allocations: 87.9 MB / 0.5972 GB, free: 5.996 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001444/0.4137, allocations: 73.02 kB / 0.5973 GB, free: 5.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003983/0.4177, allocations: 1.753 MB / 0.599 GB, free: 4.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4177, allocations: 0 / 0.599 GB, free: 4.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.4177, allocations: 0 / 0.599 GB, free: 4.414 MB / 394.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.0004151/0.4181, allocations: 404.1 kB / 0.5994 GB, free: 3.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4182, allocations: 11.97 kB / 0.5994 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.4182, allocations: 7.906 kB / 0.5994 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.4183, allocations: 178.8 kB / 0.5996 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4184, allocations: 7.938 kB / 0.5996 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.4184, allocations: 8 kB / 0.5996 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.4186, allocations: 94.97 kB / 0.5997 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4186, allocations: 7.984 kB / 0.5997 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4186, allocations: 3.25 kB / 0.5997 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4186, allocations: 0 / 0.5997 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.4188, allocations: 64.36 kB / 0.5997 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.4195, allocations: 490 kB / 0.6002 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4196, allocations: 63.02 kB / 0.6003 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.4197, allocations: 35.86 kB / 0.6003 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.4197, allocations: 0 / 0.6003 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4197, allocations: 36.23 kB / 0.6003 GB, free: 3.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.4198, allocations: 4 kB / 0.6003 GB, free: 3.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002493/0.42, allocations: 90.77 kB / 0.6004 GB, free: 2.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.4201, allocations: 52.22 kB / 0.6005 GB, free: 2.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.4201, allocations: 114.3 kB / 0.6006 GB, free: 2.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4202, allocations: 27.08 kB / 0.6006 GB, free: 2.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.4202, allocations: 106 kB / 0.6007 GB, free: 2.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.4203, allocations: 25.03 kB / 0.6007 GB, free: 2.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.4203, allocations: 0 / 0.6007 GB, free: 2.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4204, allocations: 330.7 kB / 0.601 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.4204, allocations: 11.56 kB / 0.6011 GB, free: 2.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.4205, allocations: 32.59 kB / 0.6011 GB, free: 2.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.4205, allocations: 14.62 kB / 0.6011 GB, free: 2.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4205, allocations: 0 / 0.6011 GB, free: 2.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/0.4207, allocations: 99.69 kB / 0.6012 GB, free: 2.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4207, allocations: 8.031 kB / 0.6012 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4207, allocations: 0 / 0.6012 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.4209, allocations: 31.78 kB / 0.6012 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.421, allocations: 23.94 kB / 0.6013 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008597/0.4219, allocations: 1.303 MB / 0.6025 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.422, allocations: 31.81 kB / 0.6026 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.422, allocations: 3.375 kB / 0.6026 GB, free: 0.6602 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.4221, allocations: 109 kB / 0.6027 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.4221, allocations: 0 / 0.6027 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.4221, allocations: 13.69 kB / 0.6027 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4221, allocations: 3.953 kB / 0.6027 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4221, allocations: 0 / 0.6027 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4221, allocations: 0 / 0.6027 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.4225, allocations: 396.6 kB / 0.6031 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4226, allocations: 0 / 0.6031 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.4227, allocations: 27.91 kB / 0.6031 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.792e-05/0.4227, allocations: 20.78 kB / 0.6031 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.4227, allocations: 4 kB / 0.6031 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007589/0.4235, allocations: 1.299 MB / 0.6044 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4235, allocations: 0 / 0.6044 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.4237, allocations: 208.5 kB / 0.6046 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.4237, allocations: 85.02 kB / 0.6047 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.4238, allocations: 0 / 0.6047 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4239, allocations: 15.98 kB / 0.6047 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.4239, allocations: 22.69 kB / 0.6047 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4239, allocations: 8 kB / 0.6047 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.424, allocations: 89.84 kB / 0.6048 GB, free: 14.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.424, allocations: 4 kB / 0.6048 GB, free: 14.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.4242, allocations: 23.84 kB / 0.6048 GB, free: 14.23 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.277e-05/0.4243, allocations: 100.8 kB / 0.6049 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.4245, allocations: 152.9 kB / 0.6051 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4245, allocations: 64 / 0.6051 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4247, allocations: 141.4 kB / 0.6052 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.4248, allocations: 11.75 kB / 0.6052 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.4251, allocations: 117.5 kB / 0.6053 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.4253, allocations: 0.7005 MB / 0.606 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.4253, allocations: 8.172 kB / 0.606 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.4254, allocations: 11.44 kB / 0.606 GB, free: 12.96 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.4254, allocations: 0 / 0.606 GB, free: 12.96 MB / 410.7 MB Notification: Performance of Templates: time 0.002652/0.428, allocations: 0.9322 MB / 0.6069 GB, free: 12.04 MB / 410.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches