Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 199.9 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009356/0.0009355, allocations: 110.5 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002515, allocations: 11.98 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3567, allocations: 81.64 MB / 491 MB, free: 9.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.357, allocations: 87.95 kB / 491.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.3733, allocations: 6.285 MB / 497.4 MB, free: 3.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.551e-06/0.3733, allocations: 0 / 497.4 MB, free: 3.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.566e-05/0.3734, allocations: 15.88 kB / 497.4 MB, free: 3.484 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001319/0.3747, allocations: 0.6329 MB / 498.1 MB, free: 2.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3748, allocations: 8.031 kB / 498.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.3751, allocations: 52.47 kB / 498.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006028/0.3757, allocations: 317.6 kB / 498.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.3757, allocations: 33.38 kB / 498.5 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.3758, allocations: 28.38 kB / 498.5 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.3766, allocations: 390.8 kB / 498.9 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3767, allocations: 3.938 kB / 498.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.3767, allocations: 19.94 kB / 498.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3767, allocations: 16 kB / 498.9 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.3774, allocations: 303.9 kB / 499.2 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.3802, allocations: 1.467 MB / 0.4889 GB, free: 48 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.3808, allocations: 246.7 kB / 0.4892 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.3811, allocations: 100.8 kB / 0.4893 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3811, allocations: 4 kB / 0.4893 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3812, allocations: 34.56 kB / 0.4893 GB, free: 15.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.896e-06/0.3812, allocations: 0 / 0.4893 GB, free: 15.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002282/0.3835, allocations: 0.8016 MB / 0.4901 GB, free: 14.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3835, allocations: 51.41 kB / 0.4901 GB, free: 14.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.3839, allocations: 307.3 kB / 0.4904 GB, free: 14.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.384, allocations: 29.7 kB / 0.4905 GB, free: 14.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3842, allocations: 235.6 kB / 0.4907 GB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.3842, allocations: 51.2 kB / 0.4907 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.3842, allocations: 8 kB / 0.4907 GB, free: 14.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3844, allocations: 338.8 kB / 0.4911 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.3846, allocations: 91.95 kB / 0.4911 GB, free: 13.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.3849, allocations: 165.3 kB / 0.4913 GB, free: 13.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.3854, allocations: 255.5 kB / 0.4915 GB, free: 13.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3854, allocations: 4 kB / 0.4916 GB, free: 13.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001025/0.3865, allocations: 450.2 kB / 0.492 GB, free: 12.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3865, allocations: 4 kB / 0.492 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3865, allocations: 4 kB / 0.492 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004578/0.387, allocations: 121.7 kB / 0.4921 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3872, allocations: 39.92 kB / 0.4921 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/0.3912, allocations: 3.298 MB / 0.4954 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3914, allocations: 35.67 kB / 0.4954 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.3915, allocations: 12 kB / 0.4954 GB, free: 8.953 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * Single equations (assignments): 21 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.3917, allocations: 165.5 kB / 0.4956 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.3917, allocations: 31.61 kB / 0.4956 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.3918, allocations: 30.25 kB / 0.4956 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3918, allocations: 3.984 kB / 0.4956 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3918, allocations: 0 / 0.4956 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3918, allocations: 4 kB / 0.4956 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.3923, allocations: 365.3 kB / 0.496 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3923, allocations: 4 kB / 0.496 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.3924, allocations: 11.98 kB / 0.496 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/0.3927, allocations: 117.6 kB / 0.4961 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3928, allocations: 0 / 0.4961 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/0.3961, allocations: 3.194 MB / 0.4992 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3961, allocations: 0 / 0.4992 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.397, allocations: 447.9 kB / 0.4997 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3972, allocations: 120.6 kB / 0.4998 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3972, allocations: 0 / 0.4998 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3974, allocations: 31.98 kB / 0.4998 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.3975, allocations: 19.91 kB / 0.4998 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3975, allocations: 4 kB / 0.4998 GB, free: 4.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002531/0.3978, allocations: 218 kB / 0.5 GB, free: 3.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3978, allocations: 0 / 0.5 GB, free: 3.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005384/0.3983, allocations: 107.7 kB / 0.5001 GB, free: 3.75 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002024/0.3986, allocations: 103.2 kB / 0.5002 GB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3996, allocations: 0.5206 MB / 0.5007 GB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3996, allocations: 0 / 0.5007 GB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.4001, allocations: 337.8 kB / 0.5011 GB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.4005, allocations: 56.34 kB / 0.5011 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4018, allocations: 0.6869 MB / 0.5018 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.4022, allocations: 0.7832 MB / 0.5026 GB, free: 1.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.4023, allocations: 30.95 kB / 0.5026 GB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.4024, allocations: 19.44 kB / 0.5026 GB, free: 1.105 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4024, allocations: 0 / 0.5026 GB, free: 1.105 MB / 378.7 MB Notification: Performance of Templates: time 0.2157/0.6181, allocations: 3.63 MB / 0.5061 GB, free: 95.82 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches