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.0009337/0.0009338, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007983/0.0007983, allocations: 101 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 45.14 MB / 383.8 MB, free: 224 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.69e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 63.25 MB / 0.5044 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5238, allocations: 87.24 MB / 0.5896 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.524, allocations: 64.34 kB / 0.5897 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004413/0.5284, allocations: 1.745 MB / 0.5914 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5285, allocations: 0 / 0.5914 GB, free: 13.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.5285, allocations: 0 / 0.5914 GB, free: 13.48 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.0005104/0.529, allocations: 408.6 kB / 0.5918 GB, free: 13.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5291, allocations: 8.031 kB / 0.5918 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.5291, allocations: 11.91 kB / 0.5918 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5292, allocations: 177.5 kB / 0.592 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.5293, allocations: 4 kB / 0.592 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.5293, allocations: 4 kB / 0.592 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001422/0.5294, allocations: 51.19 kB / 0.592 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.5296, allocations: 88.19 kB / 0.5921 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5296, allocations: 0 / 0.5921 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.5297, allocations: 0 / 0.5921 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5297, allocations: 6.734 kB / 0.5921 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.5304, allocations: 453.5 kB / 0.5926 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5305, allocations: 64.47 kB / 0.5926 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.5306, allocations: 37.97 kB / 0.5927 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.5306, allocations: 4 kB / 0.5927 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.5306, allocations: 34.56 kB / 0.5927 GB, free: 12.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5307, allocations: 0 / 0.5927 GB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002684/0.5309, allocations: 90.39 kB / 0.5928 GB, free: 12.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.531, allocations: 51.41 kB / 0.5928 GB, free: 11.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.531, allocations: 104.7 kB / 0.5929 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.5311, allocations: 29.7 kB / 0.593 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.5311, allocations: 109.4 kB / 0.5931 GB, free: 11.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.5312, allocations: 18.72 kB / 0.5931 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.5312, allocations: 0 / 0.5931 GB, free: 11.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5313, allocations: 326.2 kB / 0.5934 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.5313, allocations: 14.44 kB / 0.5934 GB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.5314, allocations: 23.97 kB / 0.5934 GB, free: 11.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.5314, allocations: 14.25 kB / 0.5935 GB, free: 11.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5315, allocations: 0 / 0.5935 GB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001545/0.5316, allocations: 93.78 kB / 0.5935 GB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5316, allocations: 8 kB / 0.5935 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5317, allocations: 0 / 0.5935 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.5318, allocations: 20.28 kB / 0.5936 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5319, allocations: 23.98 kB / 0.5936 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008843/0.5328, allocations: 1.262 MB / 0.5948 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.533, allocations: 27.97 kB / 0.5948 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.533, allocations: 4 kB / 0.5949 GB, free: 9.863 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 7.855e-05/0.5331, allocations: 101 kB / 0.5949 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001509/0.5332, allocations: 85.2 kB / 0.595 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.5332, allocations: 11.86 kB / 0.595 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.5333, allocations: 12.42 kB / 0.5951 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5333, allocations: 4 kB / 0.5951 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5333, allocations: 4 kB / 0.5951 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5333, allocations: 144 / 0.5951 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.5337, allocations: 353.6 kB / 0.5954 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5337, allocations: 0 / 0.5954 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.5338, allocations: 19.98 kB / 0.5954 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-05/0.5339, allocations: 28.38 kB / 0.5954 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.5339, allocations: 0 / 0.5954 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008228/0.5347, allocations: 1.255 MB / 0.5967 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5347, allocations: 0 / 0.5967 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.535, allocations: 195.8 kB / 0.5969 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.535, allocations: 88.95 kB / 0.5969 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.535, allocations: 3.984 kB / 0.5969 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.5352, allocations: 20.05 kB / 0.597 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.5352, allocations: 18.88 kB / 0.597 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5352, allocations: 0 / 0.597 GB, free: 7.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.5353, allocations: 86.53 kB / 0.5971 GB, free: 7.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5353, allocations: 0 / 0.5971 GB, free: 7.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.5355, allocations: 20 kB / 0.5971 GB, free: 7.473 MB / 394.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.00047/0.536, allocations: 0.7993 MB / 0.5979 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.5362, allocations: 146.3 kB / 0.598 GB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5363, allocations: 4.062 kB / 0.598 GB, free: 6.512 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5364, allocations: 130 kB / 0.5981 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.5366, allocations: 4.156 kB / 0.5981 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.537, allocations: 160.1 kB / 0.5983 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.5373, allocations: 0.7002 MB / 0.599 GB, free: 5.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.5373, allocations: 8.172 kB / 0.599 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.5374, allocations: 19.62 kB / 0.599 GB, free: 5.453 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5374, allocations: 0 / 0.599 GB, free: 5.453 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.5578, allocations: 1.519 MB / 0.6005 GB, free: 3.949 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.5581, allocations: 144.8 kB / 0.6006 GB, free: 3.762 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.999, allocations: 5.125 kB / 0.6006 GB, free: 3.758 MB / 394.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