Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008808/0.0008809, allocations: 88.7 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.051e-05, allocations: 8 kB / 350.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4479, allocations: 79.84 MB / 482 MB, free: 9.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4481, allocations: 74.44 kB / 482 MB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.4617, allocations: 5.387 MB / 487.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4618, allocations: 0 / 487.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.4618, allocations: 8 kB / 487.4 MB, free: 5.035 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008457/0.4627, allocations: 0.5624 MB / 488 MB, free: 4.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4627, allocations: 12.03 kB / 488 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.414e-05/0.4628, allocations: 64.67 kB / 488.1 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.692e-05/0.4629, allocations: 44.38 kB / 488.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.4633, allocations: 279.8 kB / 488.4 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.4633, allocations: 24.09 kB / 488.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.4634, allocations: 31 kB / 488.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.4638, allocations: 297.5 kB / 488.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4638, allocations: 0 / 488.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.4639, allocations: 14.5 kB / 488.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4639, allocations: 8 kB / 488.8 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.4642, allocations: 216.5 kB / 489 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.4665, allocations: 1.309 MB / 490.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.467, allocations: 215.3 kB / 490.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.4673, allocations: 141.5 kB / 490.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4673, allocations: 4 kB / 490.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4674, allocations: 34.75 kB / 490.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.973e-06/0.4674, allocations: 0 / 490.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009204/0.4683, allocations: 332.5 kB / 491 MB, free: 1.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.4683, allocations: 55.36 kB / 491 MB, free: 1.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.4686, allocations: 246.4 kB / 491.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4686, allocations: 29.7 kB / 491.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4687, allocations: 201.2 kB / 491.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.4688, allocations: 65.34 kB / 491.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.4688, allocations: 7.312 kB / 491.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.4689, allocations: 337.2 kB / 491.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.469, allocations: 65.19 kB / 492 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4691, allocations: 162.9 kB / 492.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4693, allocations: 80.59 kB / 492.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4693, allocations: 3.938 kB / 492.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008939/0.4702, allocations: 439.5 kB / 492.7 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005727/0.4708, allocations: 1.234 MB / 493.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4708, allocations: 4.562 kB / 493.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.4711, allocations: 85.69 kB / 494 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.4714, allocations: 52.78 kB / 494 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.4736, allocations: 2.004 MB / 496 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.4739, allocations: 43.67 kB / 496.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.474, allocations: 16 kB / 496.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.474, allocations: 4 kB / 496.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006868/0.4747, allocations: 313.6 kB / 496.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4747, allocations: 0 / 496.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.4749, allocations: 57.69 kB / 496.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.4751, allocations: 55.91 kB / 496.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.4774, allocations: 2.649 MB / 499.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.4777, allocations: 31.88 kB / 499.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.4777, allocations: 12 kB / 499.2 MB, free: 9.297 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.4778, allocations: 124.8 kB / 499.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.4779, allocations: 27.7 kB / 499.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.478, allocations: 33.95 kB / 499.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4781, allocations: 0 / 499.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4781, allocations: 8.062 kB / 499.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4781, allocations: 0 / 499.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.4796, allocations: 0.7379 MB / 0.4884 GB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4796, allocations: 4 kB / 0.4884 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.4797, allocations: 23.98 kB / 0.4884 GB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.4799, allocations: 73.62 kB / 0.4885 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.48, allocations: 8 kB / 0.4885 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/0.4833, allocations: 3.102 MB / 0.4915 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4834, allocations: 8.484 kB / 0.4915 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4844, allocations: 0.5027 MB / 0.492 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4845, allocations: 100.8 kB / 0.4921 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.4845, allocations: 4 kB / 0.4921 GB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.4848, allocations: 36.03 kB / 0.4922 GB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.4849, allocations: 15.97 kB / 0.4922 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4849, allocations: 11.94 kB / 0.4922 GB, free: 4.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.4851, allocations: 187.1 kB / 0.4924 GB, free: 3.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4851, allocations: 0 / 0.4924 GB, free: 3.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006869/0.4858, allocations: 151.6 kB / 0.4925 GB, free: 3.777 MB / 362.7 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 () * 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: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/0.4872, allocations: 1.055 MB / 0.4936 GB, free: 2.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.4886, allocations: 0.7094 MB / 0.4942 GB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4886, allocations: 64 / 0.4942 GB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.4892, allocations: 405 kB / 0.4946 GB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.4896, allocations: 40.48 kB / 0.4947 GB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.4907, allocations: 465.2 kB / 0.4951 GB, free: 1.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.4911, allocations: 0.7726 MB / 0.4959 GB, free: 208 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.4913, allocations: 34.95 kB / 0.4959 GB, free: 172 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4914, allocations: 83.41 kB / 0.496 GB, free: 88 kB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4914, allocations: 4 kB / 0.496 GB, free: 84 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.5152, allocations: 6.743 MB / 0.5026 GB, free: 9.621 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.5155, allocations: 199.4 kB / 0.5028 GB, free: 9.395 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.548, allocations: 3.75 kB / 0.5028 GB, free: 9.395 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat