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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.59 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.123, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004148/0.1272, allocations: 2.801 MB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1285, allocations: 0.6855 MB / 362.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1286, allocations: 4 kB / 362.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.1288, allocations: 47.5 kB / 362.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.129, allocations: 87.25 kB / 362.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1293, allocations: 83.83 kB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.1296, allocations: 394.4 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.1299, allocations: 118.9 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1301, allocations: 143.5 kB / 363.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1303, allocations: 163.3 kB / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.1303, allocations: 36 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.1304, allocations: 36 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.1304, allocations: 71.7 kB / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1306, allocations: 163.2 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.131, allocations: 374.7 kB / 364.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.131, allocations: 3.938 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.131, allocations: 0 / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.131, allocations: 0 / 364.1 MB, free: 8.164 MB / 302.1 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.001243/0.1322, allocations: 0.6537 MB / 364.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1323, allocations: 8.031 kB / 364.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.1324, allocations: 32.56 kB / 364.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.1328, allocations: 280.6 kB / 365 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.1328, allocations: 24.94 kB / 365.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.1329, allocations: 24.38 kB / 365.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.1335, allocations: 303.6 kB / 365.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1335, allocations: 3.938 kB / 365.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1336, allocations: 12 kB / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1336, allocations: 4 kB / 365.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.1343, allocations: 249.6 kB / 365.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.136, allocations: 1.085 MB / 366.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.1368, allocations: 218.6 kB / 366.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.1371, allocations: 84.8 kB / 367 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1371, allocations: 7.938 kB / 367 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/0.1375, allocations: 169.9 kB / 367.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.1375, allocations: 0 / 367.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001989/0.1395, allocations: 0.5108 MB / 367.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.1396, allocations: 110.8 kB / 367.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1399, allocations: 286.6 kB / 368.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.14, allocations: 29.7 kB / 368.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1401, allocations: 195.6 kB / 368.3 MB, free: 3.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.1401, allocations: 43.38 kB / 368.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1402, allocations: 53.84 kB / 368.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1404, allocations: 338.8 kB / 368.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.1407, allocations: 96.16 kB / 368.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.1411, allocations: 199.8 kB / 369 MB, free: 2.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.1418, allocations: 293.5 kB / 369.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1418, allocations: 7.938 kB / 369.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00112/0.1429, allocations: 423.7 kB / 369.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.143, allocations: 37.7 kB / 369.8 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.143, allocations: 4 kB / 369.8 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.1433, allocations: 80.77 kB / 369.9 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1435, allocations: 43.97 kB / 369.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.1459, allocations: 1.718 MB / 371.6 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2297/0.3757, allocations: 52.08 kB / 371.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.3758, allocations: 10.55 kB / 371.7 MB, free: 20.09 MB / 302.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.3761, allocations: 144.9 kB / 371.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.3761, allocations: 25.66 kB / 371.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.3762, allocations: 31.47 kB / 371.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3762, allocations: 1.406 kB / 371.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3763, allocations: 4.438 kB / 371.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3763, allocations: 1.391 kB / 371.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.3767, allocations: 299.6 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3767, allocations: 0.5312 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3769, allocations: 24.81 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.3772, allocations: 71.56 kB / 372.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3772, allocations: 9.156 kB / 372.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.3793, allocations: 1.693 MB / 374 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3793, allocations: 2.625 kB / 374 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3804, allocations: 314.3 kB / 374.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3806, allocations: 116.5 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.3806, allocations: 6.172 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3809, allocations: 32.22 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.381, allocations: 20.11 kB / 374.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.381, allocations: 6.203 kB / 374.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.3813, allocations: 198.4 kB / 374.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3813, allocations: 2.812 kB / 374.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.3817, allocations: 80.28 kB / 374.7 MB, free: 18.2 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.3819, allocations: 103.8 kB / 374.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.383, allocations: 414.4 kB / 375.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.383, allocations: 0 / 375.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.3835, allocations: 225 kB / 375.5 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3838, allocations: 50.56 kB / 375.5 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3849, allocations: 460 kB / 376 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3852, allocations: 0.7523 MB / 376.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.3853, allocations: 27.84 kB / 376.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.3854, allocations: 20.86 kB / 376.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3854, allocations: 0 / 376.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of Templates: time 0.009988/0.3954, allocations: 4.203 MB / 381 MB, free: 16.72 MB / 302.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches