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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.632/1.632, allocations: 230.2 MB / 255.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 67.89 kB / 374.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1137, allocations: 53.32 MB / 427.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004704/0.1184, allocations: 2.966 MB / 430.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1202, allocations: 0.7789 MB / 431.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1203, allocations: 8 kB / 431.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.1205, allocations: 59.42 kB / 431.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1208, allocations: 107.1 kB / 431.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1211, allocations: 119.8 kB / 431.9 MB, free: 384 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1864/0.3075, allocations: 404.1 kB / 432.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.3077, allocations: 96.02 kB / 432.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.308, allocations: 148.5 kB / 432.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.3082, allocations: 166.9 kB / 432.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.3083, allocations: 40.38 kB / 432.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-05/0.3083, allocations: 33.44 kB / 432.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.3084, allocations: 75.58 kB / 432.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.3085, allocations: 172.9 kB / 433 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.3089, allocations: 374.7 kB / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3089, allocations: 1.812 kB / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3089, allocations: 0 / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.309, allocations: 3.938 kB / 433.4 MB, free: 7.984 MB / 350.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.0009237/0.3099, allocations: 0.6418 MB / 434 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3099, allocations: 10.06 kB / 434 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.31, allocations: 40.77 kB / 434.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.3103, allocations: 291.9 kB / 434.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.3103, allocations: 21.56 kB / 434.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.3104, allocations: 30.75 kB / 434.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.311, allocations: 344 kB / 434.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.311, allocations: 8.906 kB / 434.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.311, allocations: 12.67 kB / 434.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.311, allocations: 7.375 kB / 434.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.3117, allocations: 285.7 kB / 435.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.3133, allocations: 1.168 MB / 436.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.3142, allocations: 289.7 kB / 436.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.3147, allocations: 171.8 kB / 436.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3147, allocations: 3.219 kB / 436.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3147, allocations: 43.12 kB / 436.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.3147, allocations: 0 / 436.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002683/0.3174, allocations: 0.8418 MB / 437.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.3174, allocations: 57.44 kB / 437.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.3177, allocations: 273.8 kB / 437.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3177, allocations: 30.36 kB / 437.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.3178, allocations: 212.4 kB / 438.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.3179, allocations: 70.42 kB / 438.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-05/0.3179, allocations: 66.94 kB / 438.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.318, allocations: 335.2 kB / 438.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.3183, allocations: 106 kB / 438.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.3186, allocations: 195 kB / 438.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.3191, allocations: 296.2 kB / 439.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.3191, allocations: 1.094 kB / 439.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001454/0.3206, allocations: 0.5241 MB / 439.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3206, allocations: 7.047 kB / 439.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3206, allocations: 4.375 kB / 439.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.3212, allocations: 144.2 kB / 439.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3214, allocations: 56.23 kB / 439.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004577/0.326, allocations: 3.702 MB / 443.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.3263, allocations: 48.7 kB / 443.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.3263, allocations: 14.3 kB / 443.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002734/0.3266, allocations: 181.2 kB / 443.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002058/0.3268, allocations: 168.9 kB / 444 MB, free: 1.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004576/0.3272, allocations: 270.9 kB / 444.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.3272, allocations: 1.062 kB / 444.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009276/0.3282, allocations: 409.9 kB / 444.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3282, allocations: 5.812 kB / 444.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3282, allocations: 8.266 kB / 444.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.3285, allocations: 80.33 kB / 444.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3287, allocations: 61.45 kB / 444.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.3315, allocations: 3.018 MB / 447.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.3318, allocations: 31.53 kB / 447.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3319, allocations: 14.22 kB / 447.9 MB, free: 14.74 MB / 366.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.0001771/0.332, allocations: 197.8 kB / 448.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.3321, allocations: 30.28 kB / 448.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.3322, allocations: 35.64 kB / 448.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3322, allocations: 3.141 kB / 448.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3322, allocations: 1.531 kB / 448.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3322, allocations: 0.8438 kB / 448.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.3341, allocations: 0.815 MB / 449 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3341, allocations: 0 / 449 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3342, allocations: 25.25 kB / 449 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005094/0.3347, allocations: 144.6 kB / 449.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3347, allocations: 9.688 kB / 449.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.3396, allocations: 3.417 MB / 452.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3396, allocations: 1.156 kB / 452.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.3412, allocations: 0.6127 MB / 453.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3413, allocations: 100.8 kB / 453.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3414, allocations: 5.188 kB / 453.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3416, allocations: 31.16 kB / 453.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.3417, allocations: 21.7 kB / 453.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3417, allocations: 9.281 kB / 453.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.342, allocations: 191.1 kB / 453.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.342, allocations: 0 / 453.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007585/0.3427, allocations: 166.1 kB / 453.7 MB, free: 10.5 MB / 366.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.0001586/0.3429, allocations: 110.1 kB / 453.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.3447, allocations: 0.8796 MB / 454.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3447, allocations: 1.375 kB / 454.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.3453, allocations: 349.8 kB / 455 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.3457, allocations: 46.92 kB / 455.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.347, allocations: 0.6307 MB / 455.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.3475, allocations: 0.768 MB / 456.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.3475, allocations: 22.03 kB / 456.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3475, allocations: 0 / 456.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of Templates: time 0.008854/0.3564, allocations: 5.78 MB / 462.3 MB, free: 6.934 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.796758876880631]