Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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) 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(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 198.8 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.42/1.42, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008805/0.0008805, allocations: 98.62 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.194e-05, allocations: 4 kB / 343.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 51.47 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3302/0.4305, allocations: 78.89 MB / 474.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4307, allocations: 68.88 kB / 474.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.4433, allocations: 5.203 MB / 479.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4433, allocations: 0 / 479.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.4433, allocations: 7.984 kB / 479.4 MB, free: 9.578 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006796/0.444, allocations: 0.557 MB / 480 MB, free: 8.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4441, allocations: 8.031 kB / 480 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.4442, allocations: 55.52 kB / 480.1 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.4445, allocations: 266.9 kB / 480.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4445, allocations: 9.969 kB / 480.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.4446, allocations: 19.12 kB / 480.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002767/0.4449, allocations: 164.5 kB / 480.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.4452, allocations: 199.8 kB / 480.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4452, allocations: 0 / 480.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.4452, allocations: 4 kB / 480.7 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4452, allocations: 4 kB / 480.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.4465, allocations: 0.9226 MB / 481.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.4468, allocations: 197.4 kB / 481.8 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.447, allocations: 98.34 kB / 481.9 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.447, allocations: 8.188 kB / 481.9 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.447, allocations: 33.69 kB / 482 MB, free: 7.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.447, allocations: 0 / 482 MB, free: 7.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004338/0.4475, allocations: 224.8 kB / 482.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/0.4475, allocations: 51.41 kB / 482.2 MB, free: 7.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4476, allocations: 212.2 kB / 482.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4477, allocations: 25.7 kB / 482.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.4477, allocations: 183.3 kB / 482.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.4478, allocations: 73.34 kB / 482.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.4478, allocations: 2.812 kB / 482.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.4478, allocations: 333.8 kB / 483 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.4479, allocations: 52.34 kB / 483.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.448, allocations: 80.34 kB / 483.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/0.4481, allocations: 65.91 kB / 483.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4481, allocations: 0 / 483.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003509/0.4485, allocations: 253.5 kB / 483.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4485, allocations: 12.02 kB / 483.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4485, allocations: 0 / 483.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.4487, allocations: 74.98 kB / 483.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.4489, allocations: 39.86 kB / 483.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.4503, allocations: 2.725 MB / 486.3 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.4505, allocations: 23.81 kB / 486.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4506, allocations: 8.047 kB / 486.4 MB, free: 3.074 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.4506, allocations: 117.7 kB / 486.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000307/0.4509, allocations: 214 kB / 486.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.451, allocations: 27.67 kB / 486.7 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.451, allocations: 25.39 kB / 486.7 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4511, allocations: 8 kB / 486.7 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4511, allocations: 0 / 486.7 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4511, allocations: 0 / 486.7 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.4517, allocations: 0.583 MB / 487.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4517, allocations: 0 / 487.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.4518, allocations: 35.97 kB / 487.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.452, allocations: 72.19 kB / 487.4 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.452, allocations: 3.984 kB / 487.4 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.4534, allocations: 2.697 MB / 490.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4534, allocations: 0 / 490.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.4538, allocations: 328 kB / 490.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.4539, allocations: 104.7 kB / 490.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.4539, allocations: 1.781 kB / 490.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.4542, allocations: 39.95 kB / 490.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.4543, allocations: 18.78 kB / 490.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4543, allocations: 6.5 kB / 490.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.4544, allocations: 165.4 kB / 490.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4544, allocations: 0 / 490.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.4548, allocations: 83.75 kB / 490.9 MB, free: 14.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007401/0.4555, allocations: 0.8663 MB / 491.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.4561, allocations: 395.2 kB / 492.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4561, allocations: 0 / 492.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.4564, allocations: 311.2 kB / 492.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4567, allocations: 31.3 kB / 492.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.4574, allocations: 351.4 kB / 492.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.4576, allocations: 0.7755 MB / 493.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.4578, allocations: 19.86 kB / 493.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.4579, allocations: 80.59 kB / 493.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4579, allocations: 0 / 493.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.4806, allocations: 4.728 MB / 498.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.4809, allocations: 141.4 kB / 498.5 MB, free: 7.152 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.277, allocations: 0 / 498.5 MB, free: 7.152 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat