Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.652/1.652, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 100.1 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4148/0.4148, allocations: 45.22 MB / 394.6 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 8 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4249, allocations: 63.24 MB / 0.5193 GB, free: 43.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.5609, allocations: 91.24 MB / 0.6084 GB, free: 14.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5613, allocations: 87.92 kB / 0.6084 GB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0241/0.5854, allocations: 9.843 MB / 0.6181 GB, free: 4.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5854, allocations: 4 kB / 0.6181 GB, free: 4.379 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.5854, allocations: 4 kB / 0.6181 GB, free: 4.375 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.001125/0.5866, allocations: 0.5693 MB / 0.6186 GB, free: 3.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5866, allocations: 8.031 kB / 0.6186 GB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.5867, allocations: 62.53 kB / 0.6187 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.587, allocations: 51.69 kB / 0.6187 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.5872, allocations: 190.6 kB / 0.6189 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.5872, allocations: 20.56 kB / 0.6189 GB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.5873, allocations: 24 kB / 0.619 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.5879, allocations: 299.4 kB / 0.6193 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5879, allocations: 0 / 0.6193 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.5879, allocations: 11.94 kB / 0.6193 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.588, allocations: 8 kB / 0.6193 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005643/0.5885, allocations: 253.5 kB / 0.6195 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.5901, allocations: 1.023 MB / 0.6205 GB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.5907, allocations: 395.3 kB / 0.6209 GB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.5909, allocations: 170.2 kB / 0.621 GB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.5909, allocations: 34.56 kB / 0.6211 GB, free: 1.008 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.5909, allocations: 0 / 0.6211 GB, free: 1.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001202/0.5922, allocations: 0.5313 MB / 0.6216 GB, free: 440 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.5922, allocations: 85.05 kB / 0.6217 GB, free: 336 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5923, allocations: 135.3 kB / 0.6218 GB, free: 196 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.5924, allocations: 25.7 kB / 0.6218 GB, free: 164 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.5925, allocations: 148.1 kB / 0.622 GB, free: 12 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.5926, allocations: 71 kB / 0.622 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.5926, allocations: 0 / 0.622 GB, free: 15.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5927, allocations: 326.8 kB / 0.6224 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.593, allocations: 83.95 kB / 0.6224 GB, free: 15.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.5932, allocations: 121.2 kB / 0.6226 GB, free: 15.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.5934, allocations: 91.95 kB / 0.6226 GB, free: 15.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.5934, allocations: 4 kB / 0.6226 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006134/0.5941, allocations: 301.6 kB / 0.6229 GB, free: 15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5941, allocations: 8 kB / 0.6229 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5941, allocations: 0 / 0.6229 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.5943, allocations: 53.69 kB / 0.623 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.5945, allocations: 48.06 kB / 0.623 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.5964, allocations: 2.647 MB / 0.6256 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.5966, allocations: 31.83 kB / 0.6257 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.5967, allocations: 8 kB / 0.6257 GB, free: 11.93 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.0001852/0.5969, allocations: 147.3 kB / 0.6258 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.5969, allocations: 7.906 kB / 0.6258 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.5976, allocations: 300.5 kB / 0.6261 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5976, allocations: 3.938 kB / 0.6261 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5976, allocations: 8 kB / 0.6261 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5976, allocations: 4 kB / 0.6261 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5987, allocations: 0.6559 MB / 0.6267 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5987, allocations: 3.938 kB / 0.6268 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.5989, allocations: 43.97 kB / 0.6268 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.5991, allocations: 45.7 kB / 0.6268 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5991, allocations: 4 kB / 0.6268 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.6008, allocations: 2.651 MB / 0.6294 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6009, allocations: 0 / 0.6294 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.6018, allocations: 0.5605 MB / 0.63 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.6018, allocations: 96.83 kB / 0.6301 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.6019, allocations: 11.98 kB / 0.6301 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.6021, allocations: 20.05 kB / 0.6301 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.6022, allocations: 19.97 kB / 0.6301 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.6022, allocations: 4 kB / 0.6301 GB, free: 6.957 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.6023, allocations: 110.7 kB / 0.6302 GB, free: 6.852 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6023, allocations: 3.938 kB / 0.6302 GB, free: 6.848 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004681/0.6027, allocations: 83.73 kB / 0.6303 GB, free: 6.766 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001382/0.6041, allocations: 1.209 MB / 0.6315 GB, free: 5.523 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008124/0.605, allocations: 444.4 kB / 0.6319 GB, free: 5.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.605, allocations: 0 / 0.6319 GB, free: 5.066 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.6054, allocations: 337.3 kB / 0.6322 GB, free: 4.711 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6056, allocations: 19.77 kB / 0.6323 GB, free: 4.695 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.6083, allocations: 1.858 MB / 0.6341 GB, free: 2.766 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.6087, allocations: 0.7438 MB / 0.6348 GB, free: 1.996 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.6088, allocations: 17.42 kB / 0.6348 GB, free: 1.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.6089, allocations: 59.41 kB / 0.6349 GB, free: 1.922 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6089, allocations: 0 / 0.6349 GB, free: 1.922 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.628, allocations: 3.979 MB / 0.6388 GB, free: 14.17 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.6283, allocations: 215.4 kB / 0.639 GB, free: 13.93 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.42, allocations: 2.188 kB / 0.639 GB, free: 13.93 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat