Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.001549/0.00155, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.315/1.315, allocations: 221.3 MB / 235.5 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 94 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.206e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.0921, allocations: 50.42 MB / 394.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.3979, allocations: 81.47 MB / 475.8 MB, free: 6.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.3982, allocations: 75.95 kB / 475.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01708/0.4152, allocations: 6.34 MB / 482.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4153, allocations: 0 / 482.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.4153, allocations: 15.92 kB / 482.3 MB, free: 15.57 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.000897/0.4162, allocations: 0.5853 MB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4163, allocations: 8.031 kB / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.847e-05/0.4163, allocations: 58.53 kB / 482.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.4164, allocations: 31.62 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.4167, allocations: 284 kB / 483.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.4168, allocations: 25.19 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.4168, allocations: 24 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.4173, allocations: 267.7 kB / 483.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4173, allocations: 0 / 483.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.4173, allocations: 12 kB / 483.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4173, allocations: 7.938 kB / 483.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.4176, allocations: 178.2 kB / 483.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.4196, allocations: 1.216 MB / 484.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.4199, allocations: 150.6 kB / 485.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.42, allocations: 56.86 kB / 485.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.42, allocations: 3.984 kB / 485.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.4203, allocations: 133 kB / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.4203, allocations: 0 / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005688/0.4209, allocations: 210.4 kB / 485.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4209, allocations: 85.11 kB / 485.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4212, allocations: 234.9 kB / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.4212, allocations: 25.7 kB / 485.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4213, allocations: 199.5 kB / 486 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.4214, allocations: 35.45 kB / 486 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.4214, allocations: 7.938 kB / 486.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4215, allocations: 338.8 kB / 486.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4216, allocations: 60.22 kB / 486.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4218, allocations: 143.6 kB / 486.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.4219, allocations: 97.66 kB / 486.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4219, allocations: 0 / 486.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006749/0.4226, allocations: 341.3 kB / 487 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.4227, allocations: 37.69 kB / 487 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4227, allocations: 4 kB / 487.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.4228, allocations: 28.86 kB / 487.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.4231, allocations: 67.89 kB / 487.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.4243, allocations: 1.38 MB / 488.5 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.4246, allocations: 63.75 kB / 488.6 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.4246, allocations: 8 kB / 488.6 MB, free: 8.742 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 9.86e-05/0.4248, allocations: 129.5 kB / 488.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.4248, allocations: 15.81 kB / 488.7 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.4248, allocations: 21.84 kB / 488.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4249, allocations: 0 / 488.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4249, allocations: 0 / 488.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4249, allocations: 11.94 kB / 488.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.4251, allocations: 313.3 kB / 489.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4251, allocations: 0 / 489.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.4253, allocations: 35.97 kB / 489.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.481e-05/0.4254, allocations: 40.72 kB / 489.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.4255, allocations: 4 kB / 489.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.4265, allocations: 1.37 MB / 490.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4265, allocations: 4.031 kB / 490.5 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.4271, allocations: 307.5 kB / 490.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.4272, allocations: 92.86 kB / 490.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.4273, allocations: 8 kB / 490.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.4275, allocations: 40.02 kB / 491 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.4276, allocations: 23.92 kB / 491 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4276, allocations: 4 kB / 491 MB, free: 6.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.4278, allocations: 187.1 kB / 491.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4278, allocations: 3.938 kB / 491.2 MB, free: 5.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.4281, allocations: 67.84 kB / 491.2 MB, free: 5.852 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009032/0.429, allocations: 0.8512 MB / 492.1 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004478/0.4295, allocations: 320.7 kB / 492.4 MB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4295, allocations: 0 / 492.4 MB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.4297, allocations: 167.9 kB / 492.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.4299, allocations: 49.03 kB / 492.6 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.4315, allocations: 0.5755 MB / 493.2 MB, free: 3.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4318, allocations: 0.756 MB / 494 MB, free: 3.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.4319, allocations: 26.06 kB / 494 MB, free: 2.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.432, allocations: 87.28 kB / 494.1 MB, free: 2.906 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.432, allocations: 4 kB / 494.1 MB, free: 2.902 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.449, allocations: 5.509 MB / 499.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.4492, allocations: 182.9 kB / 499.8 MB, free: 13.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.291, allocations: 0 / 499.8 MB, free: 13.33 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat