Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.0007873/0.0007873, allocations: 84 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003018/0.003018, allocations: 138.7 kB / 24.67 MB, free: 9.418 MB / 18.57 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 0.8084/0.8084, allocations: 173.4 MB / 201.2 MB, free: 9.066 MB / 186.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 319.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.612e-05, allocations: 2.281 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002562/0.002579, allocations: 2.941 MB / 322.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.003556, allocations: 0.9 MB / 323.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.003669, allocations: 8 kB / 323.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.003795, allocations: 71.3 kB / 323.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.004041, allocations: 126.5 kB / 323.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.004278, allocations: 151.5 kB / 323.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.004589, allocations: 0.4938 MB / 324.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004744, allocations: 87.7 kB / 324.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.004974, allocations: 287.3 kB / 324.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.005126, allocations: 151.6 kB / 324.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.005167, allocations: 40 kB / 324.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.741e-05/0.005264, allocations: 71.91 kB / 325 MB, free: 480 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.005318, allocations: 103.6 kB / 325.1 MB, free: 376 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.005406, allocations: 143.7 kB / 325.3 MB, free: 232 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.005778, allocations: 0.5062 MB / 325.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.00578, allocations: 0 / 325.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005781, allocations: 0 / 325.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.005786, allocations: 4 kB / 325.8 MB, free: 15.71 MB / 298.7 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.0007988/0.006584, allocations: 0.6606 MB / 326.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.006617, allocations: 8.922 kB / 326.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.006679, allocations: 48.66 kB / 326.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.006946, allocations: 248.5 kB / 326.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.006965, allocations: 25.03 kB / 326.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.007009, allocations: 40.36 kB / 326.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.00743, allocations: 440.4 kB / 327.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.00744, allocations: 192 / 327.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.007462, allocations: 20.31 kB / 327.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.00747, allocations: 15.88 kB / 327.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.007759, allocations: 230.5 kB / 327.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.008852, allocations: 0.9733 MB / 328.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.009245, allocations: 247.4 kB / 328.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.00953, allocations: 197.3 kB / 328.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.009703, allocations: 72.16 kB / 329 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.009724, allocations: 38.8 kB / 329 MB, free: 12.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.009725, allocations: 0 / 329 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007624/0.01049, allocations: 441.3 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.01053, allocations: 85.05 kB / 329.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.01072, allocations: 296.5 kB / 329.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.01074, allocations: 29.7 kB / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.01084, allocations: 220.3 kB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.0109, allocations: 107.1 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.01097, allocations: 74.02 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.01106, allocations: 346.8 kB / 330.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.01119, allocations: 100.7 kB / 330.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.01136, allocations: 199.5 kB / 330.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.01166, allocations: 284.6 kB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01166, allocations: 0 / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004733/0.01213, allocations: 413.6 kB / 331.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01215, allocations: 8 kB / 331.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01215, allocations: 0 / 331.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.01234, allocations: 68.75 kB / 331.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.0125, allocations: 71.91 kB / 331.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.01367, allocations: 1.821 MB / 333.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01378, allocations: 43.67 kB / 333.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.0138, allocations: 12 kB / 333.6 MB, free: 7.516 MB / 298.7 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.0001166/0.01392, allocations: 149.8 kB / 333.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.01395, allocations: 31.81 kB / 333.7 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.01436, allocations: 321.6 kB / 334 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01437, allocations: 4 kB / 334.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.01437, allocations: 0 / 334.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01437, allocations: 0 / 334.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.0146, allocations: 284.9 kB / 334.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.0146, allocations: 0 / 334.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01477, allocations: 51.97 kB / 334.4 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.01489, allocations: 60.81 kB / 334.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.01491, allocations: 8 kB / 334.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002634/0.01517, allocations: 0.6109 MB / 335.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01517, allocations: 0 / 335.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.01568, allocations: 0.5013 MB / 335.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.01571, allocations: 31.73 kB / 335.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.01574, allocations: 11.94 kB / 335.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.01586, allocations: 15.98 kB / 335.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.0159, allocations: 19.97 kB / 335.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.01591, allocations: 4 kB / 335.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.01603, allocations: 211.1 kB / 335.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01603, allocations: 0 / 335.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.01631, allocations: 119.7 kB / 336 MB, free: 5 MB / 298.7 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.0001489/0.01646, allocations: 135.1 kB / 336.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005039/0.01697, allocations: 394.2 kB / 336.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01697, allocations: 0 / 336.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.01714, allocations: 123.8 kB / 336.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01736, allocations: 32.67 kB / 336.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.01816, allocations: 0.7832 MB / 337.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.01827, allocations: 186.5 kB / 337.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.01832, allocations: 24.5 kB / 337.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01832, allocations: 0 / 337.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004872/0.0232, allocations: 5.446 MB / 343.1 MB, free: 13.83 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.158952618949115]