Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009781/0.0009782, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009091/0.000909, allocations: 102.3 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002129/0.0002128, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1886, allocations: 51.47 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09886/0.2875, allocations: 80.69 MB / 490.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.2877, allocations: 76.73 kB / 490.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01616/0.3039, allocations: 6.003 MB / 496.2 MB, free: 3.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3039, allocations: 0 / 496.2 MB, free: 3.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.3039, allocations: 8 kB / 496.2 MB, free: 3.824 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001059/0.305, allocations: 0.6188 MB / 496.8 MB, free: 3.148 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.305, allocations: 8.031 kB / 496.8 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.3051, allocations: 31.62 kB / 496.8 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.3055, allocations: 271.4 kB / 497.1 MB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.3055, allocations: 24.5 kB / 497.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.3055, allocations: 27.98 kB / 497.2 MB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.3062, allocations: 307.4 kB / 497.5 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3062, allocations: 0 / 497.5 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.3062, allocations: 12 kB / 497.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3062, allocations: 4 kB / 497.5 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/0.307, allocations: 277.5 kB / 497.8 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.3087, allocations: 1.113 MB / 498.9 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.3095, allocations: 246.5 kB / 499.1 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3095, allocations: 0 / 499.1 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/0.31, allocations: 181.9 kB / 499.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.31, allocations: 4 kB / 499.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001946/0.3119, allocations: 0.5381 MB / 499.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.312, allocations: 106.8 kB / 499.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.3123, allocations: 249.9 kB / 0.4885 GB, free: 15.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3123, allocations: 29.69 kB / 0.4885 GB, free: 15.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3125, allocations: 207.5 kB / 0.4887 GB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.3125, allocations: 39.44 kB / 0.4887 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.3125, allocations: 4 kB / 0.4887 GB, free: 15.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3126, allocations: 338.8 kB / 0.489 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.313, allocations: 100.2 kB / 0.4891 GB, free: 14.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.3134, allocations: 218.1 kB / 0.4893 GB, free: 14.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.3138, allocations: 145.5 kB / 0.4895 GB, free: 14.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3138, allocations: 0 / 0.4895 GB, free: 14.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001157/0.3149, allocations: 455.5 kB / 0.4899 GB, free: 13.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.315, allocations: 32.05 kB / 0.4899 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.315, allocations: 4 kB / 0.49 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.3153, allocations: 76.89 kB / 0.49 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.3155, allocations: 51.91 kB / 0.4901 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.3177, allocations: 1.614 MB / 0.4917 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.3181, allocations: 59.7 kB / 0.4917 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.3182, allocations: 20.06 kB / 0.4917 GB, free: 11.96 MB / 378.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: 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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.3183, allocations: 149.7 kB / 0.4919 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.3184, allocations: 19.72 kB / 0.4919 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.3184, allocations: 29.7 kB / 0.4919 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3184, allocations: 0 / 0.4919 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3184, allocations: 7.953 kB / 0.4919 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3185, allocations: 0 / 0.4919 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.3187, allocations: 297.4 kB / 0.4922 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3188, allocations: 4 kB / 0.4922 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3189, allocations: 27.91 kB / 0.4922 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.3192, allocations: 64.81 kB / 0.4923 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.3192, allocations: 7.984 kB / 0.4923 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.3212, allocations: 1.597 MB / 0.4939 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.3212, allocations: 11.88 kB / 0.4939 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.3222, allocations: 336 kB / 0.4942 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3224, allocations: 112.8 kB / 0.4943 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.3224, allocations: 8 kB / 0.4943 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3227, allocations: 39.95 kB / 0.4944 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.3227, allocations: 19.97 kB / 0.4944 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3228, allocations: 8 kB / 0.4944 GB, free: 9.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.323, allocations: 198 kB / 0.4946 GB, free: 8.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.263e-06/0.323, allocations: 0 / 0.4946 GB, free: 8.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.3233, allocations: 79.78 kB / 0.4946 GB, free: 8.738 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: 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.3235, allocations: 107.2 kB / 0.4947 GB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.3244, allocations: 441.8 kB / 0.4952 GB, free: 8.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3244, allocations: 0.625 kB / 0.4952 GB, free: 8.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.3249, allocations: 234.6 kB / 0.4954 GB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.3251, allocations: 40.83 kB / 0.4954 GB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.3261, allocations: 0.5395 MB / 0.496 GB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3264, allocations: 0.7676 MB / 0.4967 GB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3265, allocations: 26.28 kB / 0.4967 GB, free: 6.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.3266, allocations: 19.44 kB / 0.4968 GB, free: 6.48 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3266, allocations: 0 / 0.4968 GB, free: 6.48 MB / 378.7 MB Notification: Performance of Templates: time 0.00678/0.3334, allocations: 3.641 MB / 0.5003 GB, free: 2.879 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches