Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001742/0.001742, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 14.72 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.002115/0.002115, allocations: 162.5 kB / 24.5 MB, free: 3.449 MB / 14.72 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 1.467/1.467, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 66.03 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1048, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004678/0.1095, allocations: 2.968 MB / 381.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1112, allocations: 0.9546 MB / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1114, allocations: 7.938 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1116, allocations: 63.42 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.1119, allocations: 130.4 kB / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1123, allocations: 163.6 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.1129, allocations: 482 kB / 383.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1131, allocations: 95.62 kB / 383.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.1135, allocations: 199.2 kB / 384 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.1137, allocations: 183.1 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.1138, allocations: 40 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.114, allocations: 79.95 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.1141, allocations: 87.69 kB / 384.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.1142, allocations: 183.1 kB / 384.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.1148, allocations: 0.4941 MB / 385 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1148, allocations: 3.984 kB / 385 MB, free: 9.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1148, allocations: 0 / 385 MB, free: 9.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1149, allocations: 0 / 385 MB, free: 9.324 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.001348/0.1162, allocations: 0.6606 MB / 385.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1162, allocations: 19.98 kB / 385.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.1164, allocations: 56.64 kB / 385.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.1169, allocations: 257.2 kB / 386 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.1169, allocations: 25.03 kB / 386 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.117, allocations: 32.38 kB / 386.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.1177, allocations: 452.1 kB / 386.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1177, allocations: 0 / 386.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.1178, allocations: 16 kB / 386.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1178, allocations: 15.94 kB / 386.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.1184, allocations: 222.5 kB / 386.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.1203, allocations: 0.9889 MB / 387.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.121, allocations: 251.5 kB / 388 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.1215, allocations: 193.2 kB / 388.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.1219, allocations: 72.16 kB / 388.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1219, allocations: 38.8 kB / 388.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.943e-06/0.1219, allocations: 0 / 388.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001446/0.1234, allocations: 444.6 kB / 388.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.1234, allocations: 81.11 kB / 388.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.1238, allocations: 300.5 kB / 389.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1238, allocations: 33.7 kB / 389.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.124, allocations: 228.3 kB / 389.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.1241, allocations: 99.12 kB / 389.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1242, allocations: 70 kB / 389.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1244, allocations: 350.7 kB / 389.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.1246, allocations: 96.7 kB / 389.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.1249, allocations: 207.5 kB / 390.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.1255, allocations: 280 kB / 390.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.1255, allocations: 4 kB / 390.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008405/0.1263, allocations: 417.6 kB / 390.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1263, allocations: 4 kB / 390.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1263, allocations: 4 kB / 390.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/0.1266, allocations: 72.75 kB / 390.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.127, allocations: 67.91 kB / 391 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.1291, allocations: 1.813 MB / 392.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1294, allocations: 35.73 kB / 392.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.1294, allocations: 16 kB / 392.8 MB, free: 1.086 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.0001917/0.1296, allocations: 153.8 kB / 393 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.1297, allocations: 35.75 kB / 393 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007307/0.1304, allocations: 313.4 kB / 393.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1304, allocations: 4 kB / 393.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1304, allocations: 0 / 393.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1304, allocations: 0 / 393.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1308, allocations: 285 kB / 393.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1308, allocations: 0 / 393.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.1312, allocations: 51.97 kB / 393.7 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.1313, allocations: 60.81 kB / 393.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.1314, allocations: 11.94 kB / 393.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005061/0.1319, allocations: 0.6031 MB / 394.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1319, allocations: 0 / 394.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.1328, allocations: 0.5023 MB / 394.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.1329, allocations: 35.67 kB / 394.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.1329, allocations: 4 kB / 394.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.1332, allocations: 19.98 kB / 394.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.1333, allocations: 15.97 kB / 394.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1333, allocations: 11.98 kB / 394.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.1335, allocations: 207.1 kB / 395.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1335, allocations: 7.938 kB / 395.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004632/0.134, allocations: 107.8 kB / 395.2 MB, free: 14.58 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.0002065/0.1342, allocations: 127 kB / 395.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.135, allocations: 395 kB / 395.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.135, allocations: 0 / 395.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.1354, allocations: 123.9 kB / 395.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1357, allocations: 48.91 kB / 395.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1371, allocations: 0.8667 MB / 396.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.1373, allocations: 190.5 kB / 397 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1374, allocations: 30.97 kB / 397 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.1375, allocations: 28.48 kB / 397 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1375, allocations: 0 / 397 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Templates: time 0.008432/0.1459, allocations: 3.599 MB / 400.6 MB, free: 9.176 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.427864927100018]