Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 101.2 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 15.98 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2955, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.4095, allocations: 81.52 MB / 483.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4098, allocations: 80.45 kB / 483.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.4272, allocations: 6.303 MB / 489.5 MB, free: 8.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4272, allocations: 0 / 489.5 MB, free: 8.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.4273, allocations: 8 kB / 489.5 MB, free: 8.531 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001116/0.4284, allocations: 0.6233 MB / 490.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4284, allocations: 8.031 kB / 490.1 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.4285, allocations: 58.55 kB / 490.2 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.4286, allocations: 39.56 kB / 490.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.429, allocations: 295.9 kB / 490.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.429, allocations: 21.25 kB / 490.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.4291, allocations: 24 kB / 490.6 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.4297, allocations: 331.5 kB / 490.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4298, allocations: 0 / 490.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.4298, allocations: 12 kB / 490.9 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4298, allocations: 4 kB / 490.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.4306, allocations: 302.1 kB / 491.2 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.4324, allocations: 1.139 MB / 492.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/0.4332, allocations: 282.5 kB / 492.6 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.4333, allocations: 0 / 492.6 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000512/0.4338, allocations: 182.2 kB / 492.8 MB, free: 5.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.4338, allocations: 3.938 kB / 492.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001035/0.4348, allocations: 365.3 kB / 493.2 MB, free: 4.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.4349, allocations: 77.11 kB / 493.2 MB, free: 4.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.4352, allocations: 237.7 kB / 493.5 MB, free: 4.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.4353, allocations: 25.7 kB / 493.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.4354, allocations: 199.5 kB / 493.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.4355, allocations: 35.45 kB / 493.7 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.4355, allocations: 4 kB / 493.7 MB, free: 4.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4356, allocations: 338.8 kB / 494 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.436, allocations: 112.2 kB / 494.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.4364, allocations: 217.1 kB / 494.4 MB, free: 3.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.4367, allocations: 153.7 kB / 494.5 MB, free: 3.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4368, allocations: 3.953 kB / 494.5 MB, free: 3.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008405/0.4376, allocations: 394.9 kB / 494.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.4377, allocations: 29.7 kB / 494.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4377, allocations: 4 kB / 494.9 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4377, allocations: 7.938 kB / 495 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.438, allocations: 71.89 kB / 495 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.438, allocations: 15.98 kB / 495 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.4383, allocations: 51.81 kB / 495.1 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.4384, allocations: 16 kB / 495.1 MB, free: 2.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.4385, allocations: 141.7 kB / 495.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.4386, allocations: 31.67 kB / 495.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.4386, allocations: 25.7 kB / 495.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4386, allocations: 4 kB / 495.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4386, allocations: 0 / 495.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4387, allocations: 0 / 495.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.439, allocations: 309.5 kB / 495.6 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.439, allocations: 3.938 kB / 495.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.4392, allocations: 59.91 kB / 495.7 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4392, allocations: 7.984 kB / 495.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4393, allocations: 0 / 495.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4393, allocations: 0 / 495.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4393, allocations: 0 / 495.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.4403, allocations: 412.5 kB / 496.1 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.4404, allocations: 108.9 kB / 496.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.4405, allocations: 7.938 kB / 496.2 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.4407, allocations: 35.97 kB / 496.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.4408, allocations: 19.97 kB / 496.2 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4408, allocations: 4 kB / 496.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.441, allocations: 190 kB / 496.4 MB, free: 1.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.441, allocations: 0 / 496.4 MB, free: 1.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.4413, allocations: 67.83 kB / 496.5 MB, free: 1.098 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.4427, allocations: 0.9523 MB / 497.5 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008033/0.4435, allocations: 315.2 kB / 497.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4435, allocations: 4.562 kB / 497.8 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.4439, allocations: 111.9 kB / 497.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.4441, allocations: 48.48 kB / 497.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.4478, allocations: 3.359 MB / 0.4895 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4482, allocations: 0.7521 MB / 0.4903 GB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.4484, allocations: 30.28 kB / 0.4903 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.4485, allocations: 83.41 kB / 0.4904 GB, free: 11.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.054e-06/0.4485, allocations: 4 kB / 0.4904 GB, free: 11.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.4666, allocations: 4.9 MB / 0.4952 GB, free: 6.551 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.4669, allocations: 188.7 kB / 0.4953 GB, free: 6.312 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.221, allocations: 4.062 kB / 0.4953 GB, free: 6.309 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat