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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_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.0009573/0.0009574, allocations: 196.5 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.234/1.234, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00088/0.00088, allocations: 84.53 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1705/0.1705, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.554e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09039, allocations: 63.24 MB / 0.5114 GB, free: 6.738 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4271, allocations: 87.92 MB / 0.5973 GB, free: 5.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4273, allocations: 72.47 kB / 0.5974 GB, free: 5.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004333/0.4317, allocations: 1.751 MB / 0.5991 GB, free: 4.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4317, allocations: 0 / 0.5991 GB, free: 4.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4317, allocations: 0 / 0.5991 GB, free: 4.367 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.0004977/0.4322, allocations: 405.3 kB / 0.5995 GB, free: 3.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4323, allocations: 11.97 kB / 0.5995 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.4324, allocations: 46.11 kB / 0.5995 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.4324, allocations: 7.906 kB / 0.5995 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.4325, allocations: 174.9 kB / 0.5997 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4326, allocations: 7.312 kB / 0.5997 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4326, allocations: 11.94 kB / 0.5997 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.4328, allocations: 95.72 kB / 0.5998 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4328, allocations: 0 / 0.5998 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4328, allocations: 3.438 kB / 0.5998 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4328, allocations: 6.734 kB / 0.5998 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.4329, allocations: 60.94 kB / 0.5999 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.4337, allocations: 494.6 kB / 0.6003 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4339, allocations: 59.02 kB / 0.6004 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.434, allocations: 35.55 kB / 0.6004 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.434, allocations: 0.6875 kB / 0.6004 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.434, allocations: 47.11 kB / 0.6005 GB, free: 2.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.434, allocations: 0 / 0.6005 GB, free: 2.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002617/0.4343, allocations: 83.27 kB / 0.6006 GB, free: 2.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4344, allocations: 56.16 kB / 0.6006 GB, free: 2.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.4344, allocations: 111.2 kB / 0.6007 GB, free: 2.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4345, allocations: 29.08 kB / 0.6007 GB, free: 2.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.4345, allocations: 110.5 kB / 0.6009 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.4346, allocations: 19.22 kB / 0.6009 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4346, allocations: 4 kB / 0.6009 GB, free: 2.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4347, allocations: 322.1 kB / 0.6012 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.4347, allocations: 15.31 kB / 0.6012 GB, free: 2.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.4348, allocations: 29.2 kB / 0.6012 GB, free: 2.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.4348, allocations: 19.06 kB / 0.6012 GB, free: 2.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4348, allocations: 0 / 0.6012 GB, free: 2.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000186/0.435, allocations: 99.09 kB / 0.6013 GB, free: 2.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4351, allocations: 5.25 kB / 0.6013 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4351, allocations: 7.875 kB / 0.6013 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.4352, allocations: 31.61 kB / 0.6014 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.4354, allocations: 23.98 kB / 0.6014 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009721/0.4364, allocations: 1.303 MB / 0.6027 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4365, allocations: 31.56 kB / 0.6027 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4365, allocations: 64 / 0.6027 GB, free: 0.5625 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.575e-05/0.4366, allocations: 109 kB / 0.6028 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.4366, allocations: 4 kB / 0.6028 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.4366, allocations: 11.31 kB / 0.6028 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4366, allocations: 3.953 kB / 0.6028 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.4366, allocations: 0 / 0.6028 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4366, allocations: 0 / 0.6028 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.4371, allocations: 398.9 kB / 0.6032 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4371, allocations: 0 / 0.6032 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.4372, allocations: 24.02 kB / 0.6032 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-05/0.4373, allocations: 19.3 kB / 0.6032 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4373, allocations: 7.312 kB / 0.6033 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008049/0.4381, allocations: 1.293 MB / 0.6045 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4382, allocations: 0 / 0.6045 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4384, allocations: 215.3 kB / 0.6047 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.4384, allocations: 81.16 kB / 0.6048 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.4384, allocations: 0 / 0.6048 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4386, allocations: 22.84 kB / 0.6048 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4386, allocations: 15.94 kB / 0.6048 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.4386, allocations: 7.562 kB / 0.6048 GB, free: 14.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.824e-05/0.4387, allocations: 92.69 kB / 0.6049 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4387, allocations: 0 / 0.6049 GB, free: 14.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.4389, allocations: 23.25 kB / 0.605 GB, free: 14.14 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 0.0004584/0.4394, allocations: 0.8058 MB / 0.6057 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.4396, allocations: 158.8 kB / 0.6059 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4396, allocations: 0 / 0.6059 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.4398, allocations: 139.6 kB / 0.606 GB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.4399, allocations: 11.69 kB / 0.606 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.4403, allocations: 158.7 kB / 0.6062 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.4406, allocations: 0.6965 MB / 0.6069 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.877e-05/0.4406, allocations: 8.188 kB / 0.6069 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.4407, allocations: 23.73 kB / 0.6069 GB, free: 12.1 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4407, allocations: 0 / 0.6069 GB, free: 12.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.4535, allocations: 1.967 MB / 0.6088 GB, free: 10.29 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.4537, allocations: 185.2 kB / 0.609 GB, free: 10.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.345/1.799, allocations: 0 / 0.609 GB, free: 10.06 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat