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.0009059/0.0009059, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001007/0.001007, allocations: 164.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9222/0.9222, allocations: 177 MB / 205.2 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] 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 2.124e-06/2.124e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.221e-05, allocations: 2.312 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003559/0.003591, allocations: 2.961 MB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.005253, allocations: 0.7397 MB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.0055, allocations: 7.938 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.005696, allocations: 67.36 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.005973, allocations: 119 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.006249, allocations: 91.8 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.006684, allocations: 425.9 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.006906, allocations: 98.45 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.007165, allocations: 223.4 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.007352, allocations: 135.6 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.007403, allocations: 32 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.007442, allocations: 36 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.007497, allocations: 71.69 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.007599, allocations: 131.7 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.00793, allocations: 255 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.007936, allocations: 3.938 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.007938, allocations: 0 / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.007945, allocations: 4 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007956/0.008741, allocations: 0.5466 MB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.008792, allocations: 15.98 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.008884, allocations: 52.89 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.009202, allocations: 201.2 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.009226, allocations: 25.03 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.009278, allocations: 32.38 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.009565, allocations: 339.1 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.009576, allocations: 192 / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.009595, allocations: 12.38 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.009606, allocations: 15.92 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.009723, allocations: 96.48 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01078, allocations: 0.7588 MB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.01108, allocations: 174.4 kB / 281 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.01125, allocations: 120.8 kB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.01128, allocations: 4 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.01131, allocations: 38.56 kB / 281.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.714e-06/0.01131, allocations: 4 kB / 281.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005653/0.01188, allocations: 267.3 kB / 281.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.01191, allocations: 51.41 kB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01208, allocations: 244.9 kB / 281.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.0121, allocations: 29.7 kB / 281.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.0122, allocations: 200.2 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.01225, allocations: 95.19 kB / 282.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.01233, allocations: 73.62 kB / 282.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01243, allocations: 334.8 kB / 282.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.01247, allocations: 31.98 kB / 282.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.01256, allocations: 119.1 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.01273, allocations: 198.8 kB / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01273, allocations: 0 / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003063/0.01304, allocations: 246.9 kB / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.01306, allocations: 8 kB / 283.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01306, allocations: 4 kB / 283.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.01336, allocations: 93.94 kB / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.0135, allocations: 63.91 kB / 283.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.01498, allocations: 2.453 MB / 285.7 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.01512, allocations: 35.78 kB / 285.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01513, allocations: 8 kB / 285.7 MB, free: 4.223 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (opAmp2.satNeg,opAmp2.satPos,opAmp1.satNeg,opAmp1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.01525, allocations: 137.7 kB / 285.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.01529, allocations: 31.98 kB / 285.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.01532, allocations: 30.27 kB / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01532, allocations: 4 kB / 285.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01533, allocations: 0 / 285.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01533, allocations: 0 / 285.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.0159, allocations: 445.3 kB / 286.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0159, allocations: 0 / 286.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.01601, allocations: 44 kB / 286.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.01622, allocations: 85.62 kB / 286.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01623, allocations: 7.938 kB / 286.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.01745, allocations: 2.437 MB / 288.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01745, allocations: 0 / 288.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.01777, allocations: 320.3 kB / 289.2 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.0178, allocations: 31.95 kB / 289.3 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01782, allocations: 11.94 kB / 289.3 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.01791, allocations: 19.98 kB / 289.3 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.01798, allocations: 27.94 kB / 289.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.01799, allocations: 8 kB / 289.3 MB, free: 352 kB / 266.7 MB Notification: Performance of sorting global known variables: time 6.883e-05/0.01806, allocations: 82.75 kB / 289.4 MB, free: 268 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01806, allocations: 0 / 289.4 MB, free: 268 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.01838, allocations: 99.84 kB / 289.5 MB, free: 168 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp1.v_int,c.v) * Number of discrete variables: 4 (opAmp1.satPos,opAmp1.satNeg,opAmp2.satPos,opAmp2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.01854, allocations: 96.34 kB / 289.6 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0978/0.1163, allocations: 371.7 kB / 290 MB, free: 25.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.1164, allocations: 1.875 kB / 290 MB, free: 25.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.1166, allocations: 313.1 kB / 290.3 MB, free: 25.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1169, allocations: 45.7 kB / 290.3 MB, free: 25.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1181, allocations: 0.5805 MB / 290.9 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.354e-05/0.1182, allocations: 98.27 kB / 291 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1183, allocations: 34.14 kB / 291 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.1184, allocations: 105.6 kB / 291.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1184, allocations: 0 / 291.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of Templates: time 0.00993/0.1284, allocations: 4.039 MB / 295.2 MB, free: 24.7 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8214296349324286]