Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.001151/0.001151, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.512/1.512, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.69 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002833, allocations: 8 kB / 351.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2777, allocations: 50.39 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3857, allocations: 81.69 MB / 483.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.3861, allocations: 83.94 kB / 483.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.4051, allocations: 6.947 MB / 490.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4052, allocations: 0 / 490.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.4052, allocations: 8 kB / 490.3 MB, free: 7.664 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001187/0.4064, allocations: 0.6648 MB / 491 MB, free: 6.945 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4065, allocations: 8.031 kB / 491 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.821e-05/0.4065, allocations: 62.48 kB / 491.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.4066, allocations: 43.52 kB / 491.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.4071, allocations: 302.1 kB / 491.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.4071, allocations: 20.56 kB / 491.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.4072, allocations: 28 kB / 491.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.4079, allocations: 355.9 kB / 491.8 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.408, allocations: 4 kB / 491.8 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.408, allocations: 8 kB / 491.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.408, allocations: 12 kB / 491.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.4089, allocations: 330 kB / 492.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.4112, allocations: 1.334 MB / 493.5 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.4119, allocations: 262.4 kB / 493.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.412, allocations: 0 / 493.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005323/0.4125, allocations: 201.2 kB / 493.9 MB, free: 3.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.4125, allocations: 0 / 493.9 MB, free: 3.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002347/0.4149, allocations: 0.7604 MB / 494.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.415, allocations: 110.8 kB / 494.8 MB, free: 2.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.4153, allocations: 258.1 kB / 495 MB, free: 2.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4153, allocations: 33.7 kB / 495.1 MB, free: 2.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.4155, allocations: 211.5 kB / 495.3 MB, free: 2.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.4155, allocations: 55.34 kB / 495.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.4156, allocations: 0 / 495.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4157, allocations: 338.8 kB / 495.7 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.4161, allocations: 127.9 kB / 495.8 MB, free: 1.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.4165, allocations: 223.9 kB / 496 MB, free: 1.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.4169, allocations: 172.2 kB / 496.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4169, allocations: 0 / 496.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001248/0.4182, allocations: 0.523 MB / 496.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.4183, allocations: 33.7 kB / 496.7 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4183, allocations: 4 kB / 496.7 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.4187, allocations: 96.8 kB / 496.8 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.419, allocations: 59.89 kB / 496.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.4215, allocations: 1.865 MB / 498.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.4219, allocations: 63.78 kB / 498.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.422, allocations: 8 kB / 498.8 MB, free: 14.64 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002049/0.4222, allocations: 158.4 kB / 499 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.4222, allocations: 31.7 kB / 499 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.4223, allocations: 25.86 kB / 499 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4223, allocations: 4 kB / 499 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4223, allocations: 3.953 kB / 499 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4223, allocations: 0 / 499 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.4227, allocations: 349.3 kB / 499.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4227, allocations: 128 / 499.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.4229, allocations: 39.97 kB / 499.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002699/0.4232, allocations: 80.8 kB / 499.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4232, allocations: 8 kB / 499.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.4253, allocations: 1.741 MB / 0.4895 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4253, allocations: 7.938 kB / 0.4895 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.4267, allocations: 0.5433 MB / 0.49 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.4268, allocations: 104.8 kB / 0.4901 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.4269, allocations: 8 kB / 0.4901 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.4271, allocations: 36.41 kB / 0.4902 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.4272, allocations: 27.95 kB / 0.4902 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4273, allocations: 8 kB / 0.4902 GB, free: 11.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.4275, allocations: 206 kB / 0.4904 GB, free: 11.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4275, allocations: 0 / 0.4904 GB, free: 11.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.4279, allocations: 91.69 kB / 0.4905 GB, free: 10.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001824/0.4297, allocations: 1.097 MB / 0.4916 GB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.4308, allocations: 473.9 kB / 0.492 GB, free: 9.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4308, allocations: 0 / 0.492 GB, free: 9.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.4313, allocations: 258.1 kB / 0.4923 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4316, allocations: 60.73 kB / 0.4923 GB, free: 9.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.4361, allocations: 3.638 MB / 0.4959 GB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4365, allocations: 0.776 MB / 0.4966 GB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.4366, allocations: 26.98 kB / 0.4967 GB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.4368, allocations: 95.39 kB / 0.4968 GB, free: 4.375 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4368, allocations: 0 / 0.4968 GB, free: 4.375 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2527/0.6895, allocations: 6.53 MB / 0.5031 GB, free: 100.4 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.6898, allocations: 208.4 kB / 0.5033 GB, free: 100.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.813, allocations: 0 / 0.5033 GB, free: 100.1 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat