Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001816/0.001816, allocations: 111.4 kB / 17.98 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002173/0.002173, allocations: 205.8 kB / 18.92 MB, free: 4.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 247.1 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001832, allocations: 63.48 kB / 307.1 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1141, allocations: 50.55 MB / 357.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004664/0.1189, allocations: 2.994 MB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1205, allocations: 0.7713 MB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1207, allocations: 4 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1209, allocations: 51.56 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.1211, allocations: 83.36 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1215, allocations: 103.9 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.122, allocations: 410.2 kB / 362.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.1223, allocations: 135.3 kB / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1225, allocations: 143.5 kB / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1227, allocations: 175.2 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.1227, allocations: 32 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.1228, allocations: 32 kB / 362.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.1229, allocations: 71.7 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.1231, allocations: 175.2 kB / 362.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.1234, allocations: 287.5 kB / 363.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1234, allocations: 0 / 363.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.1234, allocations: 0 / 363.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1235, allocations: 7.938 kB / 363.1 MB, free: 8.766 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001152/0.1246, allocations: 0.6278 MB / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1247, allocations: 15.97 kB / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.1248, allocations: 40.45 kB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.1252, allocations: 279.6 kB / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.1252, allocations: 25.03 kB / 364.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.1253, allocations: 32.36 kB / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/0.126, allocations: 345.4 kB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.126, allocations: 4 kB / 364.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.126, allocations: 8 kB / 364.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1261, allocations: 8 kB / 364.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.1268, allocations: 290.4 kB / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.1289, allocations: 1.17 MB / 366 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009221/0.1298, allocations: 294.7 kB / 366.2 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.1303, allocations: 188.7 kB / 366.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1303, allocations: 0 / 366.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1304, allocations: 38.56 kB / 366.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.1304, allocations: 0 / 366.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002763/0.1331, allocations: 0.8428 MB / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.1332, allocations: 59.34 kB / 367.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.1336, allocations: 274.6 kB / 367.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1336, allocations: 33.7 kB / 367.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1338, allocations: 199.8 kB / 367.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.1339, allocations: 63.09 kB / 367.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.134, allocations: 57.61 kB / 368 MB, free: 3.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1342, allocations: 346.7 kB / 368.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.1345, allocations: 104.8 kB / 368.4 MB, free: 3.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.1348, allocations: 191.8 kB / 368.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.1355, allocations: 308.9 kB / 368.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.1355, allocations: 0 / 368.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001482/0.137, allocations: 0.526 MB / 369.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.137, allocations: 11.98 kB / 369.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.137, allocations: 4 kB / 369.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.1376, allocations: 137.7 kB / 369.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.1379, allocations: 59.91 kB / 369.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1984/0.3362, allocations: 3.699 MB / 373.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.3366, allocations: 50.97 kB / 373.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3367, allocations: 12.59 kB / 373.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002984/0.337, allocations: 185.1 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002402/0.3372, allocations: 172.5 kB / 373.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004012/0.3376, allocations: 262.9 kB / 374 MB, free: 18.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.484e-06/0.3376, allocations: 1.344 kB / 374 MB, free: 18.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009524/0.3386, allocations: 414.7 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3386, allocations: 6.75 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3386, allocations: 6.531 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.339, allocations: 80.95 kB / 374.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.3392, allocations: 65.47 kB / 374.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.3417, allocations: 3.016 MB / 377.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.342, allocations: 28.25 kB / 377.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.342, allocations: 12.03 kB / 377.6 MB, free: 15.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.3422, allocations: 210.2 kB / 377.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.3422, allocations: 24.84 kB / 377.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.3423, allocations: 30.61 kB / 377.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3423, allocations: 2.25 kB / 377.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3423, allocations: 2.25 kB / 377.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3423, allocations: 1.547 kB / 377.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.344, allocations: 0.8224 MB / 378.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.344, allocations: 1.25 kB / 378.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3441, allocations: 23.55 kB / 378.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/0.3446, allocations: 140.3 kB / 378.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3447, allocations: 5.062 kB / 378.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.3483, allocations: 3.416 MB / 382.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3483, allocations: 0 / 382.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.3498, allocations: 0.6114 MB / 382.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.3498, allocations: 105.3 kB / 383 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.3499, allocations: 6.609 kB / 383 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3501, allocations: 25.77 kB / 383 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.3502, allocations: 17.97 kB / 383.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3503, allocations: 8.484 kB / 383.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.3505, allocations: 196 kB / 383.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3505, allocations: 0 / 383.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007353/0.3512, allocations: 163.9 kB / 383.4 MB, free: 11.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001409/0.3514, allocations: 98.84 kB / 383.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.3531, allocations: 0.9194 MB / 384.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3531, allocations: 0 / 384.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.3535, allocations: 344.7 kB / 384.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.354, allocations: 52.34 kB / 384.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3551, allocations: 0.7415 MB / 385.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.3554, allocations: 0.7708 MB / 386.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.3555, allocations: 25.58 kB / 386.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3555, allocations: 0 / 386.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Templates: time 0.008937/0.3644, allocations: 5.751 MB / 392.1 MB, free: 7.672 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp1.out.v,opAmp1.out.i,opAmp2.out.v,opAmp2.out.i Variables in the result:c.v,opAmp1.out.i,opAmp1.out.v,opAmp2.out.i,opAmp2.out.v,time