Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 71.22 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 158.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 52.05 kB / 325.6 MB, free: 460 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09417, allocations: 53.35 MB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004422/0.09859, allocations: 2.963 MB / 381.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1003, allocations: 0.9508 MB / 382.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1004, allocations: 11.94 kB / 382.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.1006, allocations: 59.42 kB / 382.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.101, allocations: 126.9 kB / 383 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1013, allocations: 163.5 kB / 383.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.1018, allocations: 482 kB / 383.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.1021, allocations: 99.61 kB / 383.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.1024, allocations: 203.3 kB / 384 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1026, allocations: 179.1 kB / 384.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1027, allocations: 40 kB / 384.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1029, allocations: 75.97 kB / 384.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.81e-05/0.103, allocations: 99.61 kB / 384.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.1032, allocations: 171.2 kB / 384.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.1037, allocations: 0.5019 MB / 385 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1037, allocations: 0 / 385 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1037, allocations: 0 / 385 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1038, allocations: 4 kB / 385 MB, free: 9.66 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001376/0.1051, allocations: 0.6568 MB / 385.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1052, allocations: 12.03 kB / 385.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.1054, allocations: 60.64 kB / 385.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.1058, allocations: 253.2 kB / 386 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.1059, allocations: 29.03 kB / 386 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.1059, allocations: 36.38 kB / 386.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.1067, allocations: 456 kB / 386.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1067, allocations: 4 kB / 386.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1067, allocations: 12 kB / 386.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1067, allocations: 8 kB / 386.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.1072, allocations: 226.5 kB / 386.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.109, allocations: 0.9889 MB / 387.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.1097, allocations: 246.8 kB / 388 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.1102, allocations: 190.1 kB / 388.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.1105, allocations: 76.16 kB / 388.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1106, allocations: 34.8 kB / 388.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.1106, allocations: 0 / 388.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001335/0.1119, allocations: 448.5 kB / 388.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.112, allocations: 81.11 kB / 388.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.1124, allocations: 296.5 kB / 389.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.1124, allocations: 37.7 kB / 389.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1126, allocations: 224.4 kB / 389.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1127, allocations: 107.1 kB / 389.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1128, allocations: 62.08 kB / 389.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.113, allocations: 346.7 kB / 389.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1133, allocations: 104.7 kB / 389.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.1136, allocations: 203.5 kB / 390.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.1141, allocations: 276.6 kB / 390.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1141, allocations: 3.938 kB / 390.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000824/0.1149, allocations: 425.6 kB / 390.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1149, allocations: 7.938 kB / 390.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.115, allocations: 4 kB / 390.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.1152, allocations: 64.81 kB / 390.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.1155, allocations: 75.89 kB / 391 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.1174, allocations: 1.809 MB / 392.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1177, allocations: 31.73 kB / 392.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1177, allocations: 16 kB / 392.8 MB, free: 1.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.1178, allocations: 157.8 kB / 393 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.1179, allocations: 35.75 kB / 393 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/0.1187, allocations: 313.4 kB / 393.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1187, allocations: 7.984 kB / 393.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.1187, allocations: 0 / 393.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1187, allocations: 0 / 393.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.119, allocations: 285 kB / 393.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1191, allocations: 8 kB / 393.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.1194, allocations: 55.89 kB / 393.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.1196, allocations: 56.83 kB / 393.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1196, allocations: 11.98 kB / 393.7 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004779/0.1201, allocations: 0.6032 MB / 394.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1201, allocations: 64 / 394.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/0.121, allocations: 0.5064 MB / 394.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.1211, allocations: 35.69 kB / 394.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.1211, allocations: 4 kB / 394.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.1214, allocations: 19.98 kB / 394.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1214, allocations: 11.97 kB / 394.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.1215, allocations: 19.98 kB / 394.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1217, allocations: 203.1 kB / 395.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1217, allocations: 0 / 395.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.1221, allocations: 111.8 kB / 395.2 MB, free: 14.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.1223, allocations: 127 kB / 395.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008223/0.1231, allocations: 390.7 kB / 395.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1231, allocations: 3.938 kB / 395.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.1235, allocations: 131.8 kB / 395.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1238, allocations: 32.59 kB / 395.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1252, allocations: 0.8631 MB / 396.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.1253, allocations: 186.5 kB / 397 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.1255, allocations: 38.95 kB / 397 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.1255, allocations: 28.48 kB / 397 MB, free: 13.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1255, allocations: 4 kB / 397 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.008313/0.1339, allocations: 3.598 MB / 400.6 MB, free: 9.508 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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: 4.414422026951797]