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.00112/0.00112, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.1 MB, free: 9.105 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.78 kB / 307.1 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09938, allocations: 50.53 MB / 357.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004811/0.1042, allocations: 2.998 MB / 360.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1059, allocations: 0.7713 MB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.1063, allocations: 11.94 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1067, allocations: 39.67 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.1071, allocations: 91.31 kB / 361.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1075, allocations: 99.89 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.108, allocations: 414.2 kB / 362.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.1084, allocations: 131.3 kB / 362.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.1086, allocations: 147.4 kB / 362.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1089, allocations: 171.2 kB / 362.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-05/0.109, allocations: 36 kB / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1091, allocations: 32 kB / 362.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.1092, allocations: 71.75 kB / 362.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.1094, allocations: 179.1 kB / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1097, allocations: 287.5 kB / 363.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1097, allocations: 0 / 363.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1097, allocations: 0 / 363.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1097, allocations: 0 / 363.1 MB, free: 8.715 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.001245/0.111, allocations: 0.6317 MB / 363.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.111, allocations: 8.031 kB / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1112, allocations: 44.41 kB / 363.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.1116, allocations: 279.6 kB / 364.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1116, allocations: 24.97 kB / 364.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.1116, allocations: 36.31 kB / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.1124, allocations: 349.4 kB / 364.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1124, allocations: 0 / 364.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.1124, allocations: 12 kB / 364.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1125, allocations: 8 kB / 364.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.1132, allocations: 282.5 kB / 364.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.1152, allocations: 1.174 MB / 365.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.1161, allocations: 294.7 kB / 366.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.1165, allocations: 188.7 kB / 366.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1166, allocations: 4 kB / 366.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1166, allocations: 34.5 kB / 366.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.1166, allocations: 0 / 366.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002649/0.1193, allocations: 0.8483 MB / 367.3 MB, free: 4.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1193, allocations: 59.34 kB / 367.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1196, allocations: 274.6 kB / 367.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1196, allocations: 29.7 kB / 367.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1197, allocations: 199.8 kB / 367.8 MB, free: 3.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.1198, allocations: 67.09 kB / 367.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.473e-05/0.1199, allocations: 57.61 kB / 368 MB, free: 3.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.12, allocations: 334.8 kB / 368.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.1203, allocations: 104.8 kB / 368.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.1206, allocations: 199.6 kB / 368.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.1212, allocations: 302.8 kB / 368.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1212, allocations: 4 kB / 368.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001441/0.1227, allocations: 0.5221 MB / 369.4 MB, free: 2.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1227, allocations: 4.094 kB / 369.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1227, allocations: 8 kB / 369.4 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/0.1233, allocations: 145.5 kB / 369.6 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1235, allocations: 59.91 kB / 369.6 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1727/0.2963, allocations: 3.696 MB / 373.3 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.2966, allocations: 57.03 kB / 373.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.2966, allocations: 10.28 kB / 373.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002656/0.2969, allocations: 181 kB / 373.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002138/0.2971, allocations: 173.4 kB / 373.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004039/0.2975, allocations: 269.5 kB / 374 MB, free: 18.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.2976, allocations: 1.125 kB / 374 MB, free: 18.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000891/0.2985, allocations: 413.5 kB / 374.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2985, allocations: 6.438 kB / 374.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2985, allocations: 3.859 kB / 374.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.2988, allocations: 83.19 kB / 374.5 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.299, allocations: 63.41 kB / 374.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.3013, allocations: 3.021 MB / 377.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3015, allocations: 31.36 kB / 377.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3016, allocations: 13.41 kB / 377.6 MB, free: 15.39 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.0001/0.3017, allocations: 205.2 kB / 377.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.3017, allocations: 28.14 kB / 377.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.3018, allocations: 32.33 kB / 377.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3018, allocations: 3.062 kB / 377.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3018, allocations: 5.062 kB / 377.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3018, allocations: 0.6094 kB / 377.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.3035, allocations: 0.8135 MB / 378.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3035, allocations: 0 / 378.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3036, allocations: 28.22 kB / 378.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.3041, allocations: 143.3 kB / 378.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3041, allocations: 0.6562 kB / 378.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.3076, allocations: 3.414 MB / 382.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3076, allocations: 0 / 382.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3089, allocations: 0.6133 MB / 382.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.309, allocations: 110 kB / 383 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.309, allocations: 2.375 kB / 383 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.3093, allocations: 29.05 kB / 383 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.3094, allocations: 18.3 kB / 383 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3094, allocations: 4.219 kB / 383 MB, free: 11.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.3096, allocations: 195.3 kB / 383.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3096, allocations: 4 kB / 383.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.3103, allocations: 162.2 kB / 383.4 MB, free: 11.18 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.0001246/0.3104, allocations: 107 kB / 383.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.312, allocations: 0.9081 MB / 384.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.312, allocations: 4.188 kB / 384.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.3125, allocations: 353 kB / 384.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3129, allocations: 51.95 kB / 384.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.314, allocations: 0.7431 MB / 385.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.3142, allocations: 0.7755 MB / 386.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.3143, allocations: 21.84 kB / 386.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3143, allocations: 0 / 386.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of Templates: time 0.007974/0.3222, allocations: 5.732 MB / 392.1 MB, free: 7.613 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.0.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