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.001338/0.001338, allocations: 73.88 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.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.001326/0.001326, allocations: 150.6 kB / 24.49 MB, free: 3.723 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.39/1.39, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 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 0.001516/0.001516, allocations: 50.86 kB / 319.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09467, allocations: 52.16 MB / 371.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004393/0.09906, allocations: 2.947 MB / 374.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1007, allocations: 0.9001 MB / 375.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.1008, allocations: 7.938 kB / 375.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.101, allocations: 59.42 kB / 375.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1013, allocations: 126.9 kB / 375.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1017, allocations: 147.6 kB / 375.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.1022, allocations: 490 kB / 376.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1025, allocations: 87.64 kB / 376.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.1027, allocations: 191.3 kB / 376.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.103, allocations: 191 kB / 376.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.731e-05/0.1031, allocations: 40 kB / 376.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1032, allocations: 75.97 kB / 376.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1033, allocations: 91.67 kB / 376.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1035, allocations: 171.2 kB / 377.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.1042, allocations: 0.4941 MB / 377.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1042, allocations: 8 kB / 377.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1042, allocations: 0 / 377.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1042, allocations: 0 / 377.6 MB, free: 1.289 MB / 334.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.001419/0.1056, allocations: 0.6606 MB / 378.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1057, allocations: 12.92 kB / 378.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.1058, allocations: 44.66 kB / 378.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.1062, allocations: 257.2 kB / 378.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.1063, allocations: 25.03 kB / 378.6 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.1063, allocations: 32.38 kB / 378.6 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/0.1071, allocations: 456.2 kB / 379 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1071, allocations: 0 / 379 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.1071, allocations: 12 kB / 379.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1071, allocations: 8 kB / 379.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.1077, allocations: 234.5 kB / 379.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.1098, allocations: 0.9733 MB / 380.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.1105, allocations: 254.3 kB / 380.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.1113, allocations: 189.3 kB / 380.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/0.1118, allocations: 72.09 kB / 380.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.1118, allocations: 42.8 kB / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.1118, allocations: 0 / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001999/0.1138, allocations: 444.6 kB / 381.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.1139, allocations: 81.11 kB / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.1144, allocations: 292.5 kB / 381.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.1145, allocations: 29.7 kB / 381.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.1147, allocations: 236.2 kB / 381.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.1149, allocations: 103.2 kB / 382 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.1151, allocations: 66.06 kB / 382 MB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.1153, allocations: 350.7 kB / 382.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.1157, allocations: 100.7 kB / 382.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.1162, allocations: 207.5 kB / 382.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.1169, allocations: 280.3 kB / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1169, allocations: 0 / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001237/0.1181, allocations: 409.9 kB / 383.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1181, allocations: 8 kB / 383.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1181, allocations: 7.984 kB / 383.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/0.1185, allocations: 64.77 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.1191, allocations: 79.89 kB / 383.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.122, allocations: 1.798 MB / 385.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.1224, allocations: 39.75 kB / 385.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.1225, allocations: 20.06 kB / 385.4 MB, free: 9.09 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.0002627/0.1227, allocations: 145.8 kB / 385.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1228, allocations: 35.69 kB / 385.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.1239, allocations: 313.5 kB / 385.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1239, allocations: 192 / 385.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1239, allocations: 4 kB / 385.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1239, allocations: 11.86 kB / 385.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.1245, allocations: 281 kB / 386.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1245, allocations: 0 / 386.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.125, allocations: 51.95 kB / 386.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.1253, allocations: 60.81 kB / 386.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.1253, allocations: 4 kB / 386.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007026/0.126, allocations: 0.6147 MB / 386.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.126, allocations: 4 kB / 386.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.1274, allocations: 0.4985 MB / 387.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1275, allocations: 35.69 kB / 387.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.1276, allocations: 8 kB / 387.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.128, allocations: 15.98 kB / 387.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.128, allocations: 24.02 kB / 387.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.1281, allocations: 8 kB / 387.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.1284, allocations: 207.1 kB / 387.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 0 / 387.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.1292, allocations: 115.7 kB / 387.8 MB, free: 6.57 MB / 350.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.0002618/0.1295, allocations: 135.1 kB / 387.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1307, allocations: 390.3 kB / 388.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1307, allocations: 0 / 388.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.1312, allocations: 131.8 kB / 388.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.1318, allocations: 32.59 kB / 388.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.134, allocations: 0.8591 MB / 389.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1343, allocations: 186.5 kB / 389.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.1345, allocations: 34.97 kB / 389.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1346, allocations: 24.48 kB / 389.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1346, allocations: 0 / 389.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Templates: time 0.01306/0.1477, allocations: 3.616 MB / 393.2 MB, free: 1.172 MB / 350.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.v_in,opAmp.v_source,opAmp.x Variables in the result:constantVoltage.V,constantVoltage1.V,opAmp.Avcm_val,opAmp.Avd0,opAmp.Avd0_val,opAmp.CMRR,opAmp.Cin,opAmp.I1,opAmp.I2,opAmp.Ib,opAmp.Imaxsi,opAmp.Imaxsi_val,opAmp.Imaxso,opAmp.Imaxso_val,opAmp.Ios,opAmp.Rcm,opAmp.Rdm,opAmp.Rout,opAmp.Ts,opAmp.Vos,opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.sr_m,opAmp.sr_m_val,opAmp.sr_p,opAmp.sr_p_val,opAmp.v_in,opAmp.v_source,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_ref,resistor2.alpha,sineVoltage.V,sineVoltage.f,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.437277691089548]