Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 100 kB / 16.99 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 201.8 kB / 17.9 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.000262, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003497/0.1213, allocations: 2.35 MB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1229, allocations: 0.7329 MB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1231, allocations: 4 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.1232, allocations: 31.75 kB / 361.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.1234, allocations: 107.6 kB / 361.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1238, allocations: 59.92 kB / 361.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.1242, allocations: 247.5 kB / 361.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.1244, allocations: 97.75 kB / 361.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.1247, allocations: 127.5 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1249, allocations: 135.4 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.125, allocations: 16 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.125, allocations: 16 kB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.1251, allocations: 55.8 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.1252, allocations: 85.52 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1256, allocations: 319.3 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1256, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1256, allocations: 4 kB / 362.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1256, allocations: 0 / 362.6 MB, free: 9.383 MB / 302.1 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.001372/0.127, allocations: 0.6301 MB / 363.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1271, allocations: 12.03 kB / 363.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.1271, allocations: 58.55 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.1272, allocations: 39.62 kB / 363.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.1276, allocations: 279.5 kB / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1277, allocations: 16.56 kB / 363.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.1277, allocations: 27.94 kB / 363.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.1285, allocations: 327.6 kB / 364 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1285, allocations: 4 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.1285, allocations: 4 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1286, allocations: 8 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.1294, allocations: 306 kB / 364.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1313, allocations: 1.146 MB / 365.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/0.1322, allocations: 282.5 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1323, allocations: 0 / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.1328, allocations: 181 kB / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 3.607e-06/0.1328, allocations: 0 / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001149/0.134, allocations: 373.2 kB / 366.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.1341, allocations: 81.11 kB / 366.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1344, allocations: 262.6 kB / 366.6 MB, free: 5.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1344, allocations: 29.7 kB / 366.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1346, allocations: 199.5 kB / 366.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1346, allocations: 35.45 kB / 366.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.1346, allocations: 8 kB / 366.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1348, allocations: 330.8 kB / 367.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.1352, allocations: 120.2 kB / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.1356, allocations: 204.6 kB / 367.5 MB, free: 4.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.136, allocations: 149.7 kB / 367.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.136, allocations: 0 / 367.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009067/0.1369, allocations: 394.9 kB / 368 MB, free: 3.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.137, allocations: 33.7 kB / 368 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.137, allocations: 0 / 368 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.137, allocations: 8.094 kB / 368 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.1374, allocations: 75.88 kB / 368.1 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1374, allocations: 7.938 kB / 368.1 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.1377, allocations: 59.72 kB / 368.2 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1377, allocations: 19.94 kB / 368.2 MB, free: 3.406 MB / 302.1 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.0001641/0.1379, allocations: 148.2 kB / 368.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.1379, allocations: 19.81 kB / 368.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.138, allocations: 25.7 kB / 368.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.138, allocations: 0 / 368.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.138, allocations: 4 kB / 368.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.138, allocations: 4 kB / 368.4 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1384, allocations: 313.3 kB / 368.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1384, allocations: 0 / 368.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.1386, allocations: 51.95 kB / 368.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1386, allocations: 3.938 kB / 368.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1387, allocations: 3.984 kB / 368.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1387, allocations: 8 kB / 368.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1387, allocations: 0 / 368.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1398, allocations: 416.5 kB / 369.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.1399, allocations: 92.95 kB / 369.3 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.1399, allocations: 15.94 kB / 369.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.1402, allocations: 40.02 kB / 369.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.1402, allocations: 11.98 kB / 369.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1403, allocations: 7.984 kB / 369.3 MB, free: 2.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.1405, allocations: 190 kB / 369.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1405, allocations: 0 / 369.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.1408, allocations: 75.62 kB / 369.6 MB, free: 1.906 MB / 302.1 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.001474/0.1423, allocations: 0.9402 MB / 370.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.1431, allocations: 323.2 kB / 370.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1431, allocations: 0 / 370.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.1435, allocations: 120.4 kB / 371 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1438, allocations: 40.52 kB / 371 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1803/0.3241, allocations: 3.358 MB / 374.4 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3244, allocations: 0.756 MB / 375.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.3246, allocations: 27.22 kB / 375.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3247, allocations: 80.12 kB / 375.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3247, allocations: 0 / 375.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.3429, allocations: 4.886 MB / 380.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.3432, allocations: 188.9 kB / 380.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.25, allocations: 7.844 kB / 380.3 MB, free: 16.36 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat