Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 97.05 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 207.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 8 kB / 306.7 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1287, allocations: 51.49 MB / 358.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003111/0.1319, allocations: 2.092 MB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1337, allocations: 0.6822 MB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.134, allocations: 4 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1341, allocations: 31.75 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.1346, allocations: 99.72 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1349, allocations: 63.92 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.1353, allocations: 211.5 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.1355, allocations: 69.27 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1358, allocations: 99.62 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.136, allocations: 107.5 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.136, allocations: 12 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.136, allocations: 20 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.1361, allocations: 43.81 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.1362, allocations: 65.58 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1364, allocations: 211.7 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1364, allocations: 0 / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1365, allocations: 0 / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1365, allocations: 0 / 362 MB, free: 10.14 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001053/0.1375, allocations: 0.5185 MB / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1376, allocations: 12.03 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.632e-05/0.1377, allocations: 54.55 kB / 362.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.1378, allocations: 23.72 kB / 362.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.1382, allocations: 262.5 kB / 362.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.1382, allocations: 24.5 kB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.1383, allocations: 16 kB / 362.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.1388, allocations: 220.9 kB / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1388, allocations: 0 / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.1388, allocations: 12 kB / 363.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1388, allocations: 4 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.1393, allocations: 198.1 kB / 363.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.1411, allocations: 0.9085 MB / 364.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.1418, allocations: 234.5 kB / 364.5 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1418, allocations: 4 kB / 364.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1419, allocations: 34.84 kB / 364.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.835e-06/0.1419, allocations: 3.938 kB / 364.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002014/0.1439, allocations: 0.6102 MB / 365.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.144, allocations: 59.34 kB / 365.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1443, allocations: 227 kB / 365.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1443, allocations: 29.7 kB / 365.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1444, allocations: 163.9 kB / 365.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.1445, allocations: 55.2 kB / 365.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.1445, allocations: 4 kB / 365.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1447, allocations: 330.8 kB / 366 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.1449, allocations: 63.97 kB / 366 MB, free: 5.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1451, allocations: 119.7 kB / 366.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1453, allocations: 78.39 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1453, allocations: 0 / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008971/0.1462, allocations: 358.1 kB / 366.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.1465, allocations: 0.6161 MB / 367.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1465, allocations: 7.984 kB / 367.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.1469, allocations: 76.8 kB / 367.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1471, allocations: 43.98 kB / 367.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.15, allocations: 1.908 MB / 369.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1503, allocations: 23.84 kB / 369.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1503, allocations: 8 kB / 369.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.1503, allocations: 0 / 369.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003275/0.1506, allocations: 179.3 kB / 369.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1506, allocations: 0 / 369.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.019e-05/0.1507, allocations: 24.84 kB / 369.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1509, allocations: 39.97 kB / 369.5 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009569/0.1519, allocations: 1.316 MB / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.152, allocations: 19.78 kB / 370.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.152, allocations: 11.94 kB / 370.8 MB, free: 0.6797 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.1522, allocations: 205.1 kB / 371 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.1523, allocations: 15.81 kB / 371.1 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.1523, allocations: 37.56 kB / 371.1 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1524, allocations: 0 / 371.1 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1524, allocations: 0 / 371.1 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1524, allocations: 0 / 371.1 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.1527, allocations: 293.4 kB / 371.4 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1527, allocations: 3.938 kB / 371.4 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1528, allocations: 27.92 kB / 371.4 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2178/0.3707, allocations: 76.05 kB / 371.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.3708, allocations: 7.578 kB / 371.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.3732, allocations: 1.784 MB / 373.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3732, allocations: 5.703 kB / 373.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.3742, allocations: 452.6 kB / 373.7 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.3743, allocations: 96.08 kB / 373.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3743, allocations: 5.016 kB / 373.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.3745, allocations: 23.23 kB / 373.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.3746, allocations: 13.27 kB / 373.9 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3746, allocations: 4.531 kB / 373.9 MB, free: 17.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.3747, allocations: 162.4 kB / 374 MB, free: 17.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3747, allocations: 0 / 374 MB, free: 17.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.3754, allocations: 115.6 kB / 374.1 MB, free: 17.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.3765, allocations: 0.9875 MB / 375.1 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.3777, allocations: 0.5574 MB / 375.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3777, allocations: 2.844 kB / 375.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.378, allocations: 196.1 kB / 375.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3783, allocations: 35.25 kB / 375.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.3812, allocations: 2.384 MB / 378.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.3814, allocations: 0.7497 MB / 379 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.3815, allocations: 25.38 kB / 379.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3816, allocations: 65.95 kB / 379.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3816, allocations: 0 / 379.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.4001, allocations: 4.782 MB / 383.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.4003, allocations: 229.2 kB / 384.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.225, allocations: 0 / 384.1 MB, free: 13.93 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat