Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 197 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.389/1.389, 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.0008796/0.0008796, allocations: 86.81 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.158e-05, allocations: 4 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3746/0.4856, allocations: 81.9 MB / 484 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4859, allocations: 78.39 kB / 484.1 MB, free: 7.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.5026, allocations: 6.472 MB / 490.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5026, allocations: 0 / 490.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.671e-05/0.5026, allocations: 11.17 kB / 490.6 MB, free: 2.094 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009983/0.5036, allocations: 0.599 MB / 491.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5037, allocations: 12.03 kB / 491.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.609e-05/0.5038, allocations: 60.91 kB / 491.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.5039, allocations: 40.72 kB / 491.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.5043, allocations: 290.7 kB / 491.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5043, allocations: 21.38 kB / 491.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.5044, allocations: 23 kB / 491.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.5048, allocations: 273.3 kB / 491.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5049, allocations: 4 kB / 491.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.5049, allocations: 7.25 kB / 491.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5049, allocations: 8 kB / 491.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.5053, allocations: 190.4 kB / 492.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.5072, allocations: 1.19 MB / 493.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.5075, allocations: 149.7 kB / 493.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.5077, allocations: 65.36 kB / 493.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.5077, allocations: 5.594 kB / 493.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.508, allocations: 133.1 kB / 493.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.508, allocations: 0 / 493.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007126/0.5087, allocations: 239.9 kB / 493.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.5088, allocations: 110.9 kB / 494 MB, free: 15.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.5091, allocations: 255 kB / 494.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.5091, allocations: 29.7 kB / 494.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5093, allocations: 207.7 kB / 494.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.5093, allocations: 43.45 kB / 494.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.5094, allocations: 4 kB / 494.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5095, allocations: 334.8 kB / 494.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.5096, allocations: 60.23 kB / 494.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.5098, allocations: 161.3 kB / 495.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.51, allocations: 103.2 kB / 495.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.51, allocations: 0 / 495.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007911/0.5108, allocations: 383.6 kB / 495.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.5109, allocations: 37.83 kB / 495.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5109, allocations: 6.062 kB / 495.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.5111, allocations: 56.83 kB / 495.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.5114, allocations: 51.91 kB / 495.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.5136, allocations: 1.737 MB / 497.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.514, allocations: 71.92 kB / 497.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.5141, allocations: 12 kB / 497.5 MB, free: 11.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 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.000135/0.5142, allocations: 124.9 kB / 497.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.5143, allocations: 23.72 kB / 497.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/0.5144, allocations: 29.95 kB / 497.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5144, allocations: 3.953 kB / 497.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5144, allocations: 4 kB / 497.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5144, allocations: 0 / 497.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.5148, allocations: 329.4 kB / 498 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5148, allocations: 0 / 498 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.5149, allocations: 27.97 kB / 498 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.5151, allocations: 52.78 kB / 498.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.5151, allocations: 8 kB / 498.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.5168, allocations: 1.638 MB / 499.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5169, allocations: 0 / 499.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.5175, allocations: 278.5 kB / 0.4883 GB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5177, allocations: 96.81 kB / 0.4884 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.5177, allocations: 8 kB / 0.4884 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.518, allocations: 41.38 kB / 0.4884 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.5181, allocations: 15.97 kB / 0.4884 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.5181, allocations: 11.98 kB / 0.4884 GB, free: 8.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.5184, allocations: 195.1 kB / 0.4886 GB, free: 8.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5184, allocations: 0 / 0.4886 GB, free: 8.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004592/0.5188, allocations: 83.78 kB / 0.4887 GB, free: 8.172 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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: 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.0009845/0.5198, allocations: 0.8066 MB / 0.4895 GB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009472/0.5208, allocations: 433.8 kB / 0.4899 GB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5208, allocations: 0 / 0.4899 GB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.5211, allocations: 190.6 kB / 0.4901 GB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.5214, allocations: 54.66 kB / 0.4901 GB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.5247, allocations: 0.8642 MB / 0.491 GB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.5251, allocations: 0.7638 MB / 0.4917 GB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.5253, allocations: 26.02 kB / 0.4918 GB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.5254, allocations: 86.03 kB / 0.4918 GB, free: 4.84 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5254, allocations: 0 / 0.4918 GB, free: 4.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.5482, allocations: 6.004 MB / 0.4977 GB, free: 15.15 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.5485, allocations: 200.7 kB / 0.4979 GB, free: 14.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.39, allocations: 0 / 0.4979 GB, free: 14.93 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat