Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 124.5 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 190.6 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 249.8 MB, free: 3.492 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 47.92 kB / 366.8 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09905, allocations: 52.15 MB / 419 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004393/0.1034, allocations: 2.95 MB / 421.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1048, allocations: 0.7401 MB / 422.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.105, allocations: 11.94 kB / 422.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.1052, allocations: 51.44 kB / 422.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.1054, allocations: 111.1 kB / 422.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1057, allocations: 119.8 kB / 423 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.1062, allocations: 410.2 kB / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.1065, allocations: 99.38 kB / 423.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.1067, allocations: 151.4 kB / 423.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1069, allocations: 163.3 kB / 423.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/0.107, allocations: 36 kB / 423.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.289e-05/0.1071, allocations: 36 kB / 423.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.1071, allocations: 75.69 kB / 423.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1073, allocations: 171.1 kB / 424.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.1078, allocations: 378.3 kB / 424.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1078, allocations: 0 / 424.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1078, allocations: 0 / 424.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1078, allocations: 0 / 424.5 MB, free: 6.539 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.00113/0.1089, allocations: 0.643 MB / 425.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.109, allocations: 15.88 kB / 425.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.109, allocations: 36.7 kB / 425.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.1095, allocations: 295.8 kB / 425.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1095, allocations: 21.03 kB / 425.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.1096, allocations: 32.38 kB / 425.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.1103, allocations: 349.4 kB / 425.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1103, allocations: 3.938 kB / 425.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.1104, allocations: 12 kB / 425.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1104, allocations: 4 kB / 425.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/0.1111, allocations: 286.5 kB / 426.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.1131, allocations: 1.167 MB / 427.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.114, allocations: 294.7 kB / 427.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.1145, allocations: 164.7 kB / 427.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1146, allocations: 7.984 kB / 427.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1146, allocations: 38.56 kB / 427.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.787e-06/0.1146, allocations: 4 kB / 427.8 MB, free: 3 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.003002/0.1176, allocations: 0.8534 MB / 428.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1177, allocations: 59.34 kB / 428.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.118, allocations: 270.7 kB / 429 MB, free: 1.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.118, allocations: 33.7 kB / 429 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1182, allocations: 200.3 kB / 429.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.1182, allocations: 75.36 kB / 429.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.1183, allocations: 53.7 kB / 429.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1185, allocations: 342.8 kB / 429.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.119, allocations: 104.7 kB / 429.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.1193, allocations: 184 kB / 429.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.12, allocations: 299.8 kB / 430.2 MB, free: 392 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.12, allocations: 0 / 430.2 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001621/0.1216, allocations: 0.5301 MB / 430.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1216, allocations: 7.984 kB / 430.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1217, allocations: 4 kB / 430.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/0.1223, allocations: 145.6 kB / 430.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.1225, allocations: 55.91 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/0.1283, allocations: 3.705 MB / 434.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.1286, allocations: 51.72 kB / 434.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1287, allocations: 11.94 kB / 434.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003193/0.129, allocations: 180.1 kB / 434.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002754/0.1292, allocations: 176.5 kB / 435.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004605/0.1297, allocations: 267.7 kB / 435.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.1297, allocations: 0 / 435.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009853/0.1307, allocations: 406.2 kB / 435.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1307, allocations: 11.98 kB / 435.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1307, allocations: 7.938 kB / 435.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.131, allocations: 85.7 kB / 435.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1312, allocations: 59.91 kB / 435.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/0.1346, allocations: 3.02 MB / 438.9 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.1348, allocations: 35.89 kB / 439 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1348, allocations: 12 kB / 439 MB, free: 6.953 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.0001769/0.135, allocations: 204.7 kB / 439.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.1351, allocations: 23.86 kB / 439.2 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.1351, allocations: 26.17 kB / 439.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1351, allocations: 4 kB / 439.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1351, allocations: 4.062 kB / 439.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1352, allocations: 0 / 439.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.1369, allocations: 0.81 MB / 440 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1369, allocations: 0 / 440 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.137, allocations: 31.92 kB / 440.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/0.1375, allocations: 137.6 kB / 440.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1375, allocations: 8 kB / 440.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/0.1422, allocations: 3.426 MB / 443.6 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1422, allocations: 7.969 kB / 443.7 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.1437, allocations: 0.6122 MB / 444.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.1438, allocations: 104.9 kB / 444.4 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1439, allocations: 3.984 kB / 444.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.1441, allocations: 27.98 kB / 444.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.1442, allocations: 24.03 kB / 444.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.1442, allocations: 4 kB / 444.4 MB, free: 1.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.1444, allocations: 197.9 kB / 444.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1444, allocations: 0 / 444.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006967/0.1451, allocations: 159.7 kB / 444.8 MB, free: 0.7617 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.0001552/0.1453, allocations: 111.1 kB / 444.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.172/0.3173, allocations: 0.8749 MB / 445.8 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3173, allocations: 0 / 445.8 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.3178, allocations: 344.8 kB / 446.1 MB, free: 29.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.3183, allocations: 50.3 kB / 446.1 MB, free: 29.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3194, allocations: 0.6285 MB / 446.8 MB, free: 29.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.3195, allocations: 0.7709 MB / 447.5 MB, free: 28.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.3196, allocations: 22.34 kB / 447.6 MB, free: 28.59 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3196, allocations: 0 / 447.6 MB, free: 28.59 MB / 366.1 MB Notification: Performance of Templates: time 0.008536/0.3281, allocations: 5.775 MB / 453.3 MB, free: 28.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.552624499890953]