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.001638/0.001638, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001995/0.001995, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.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.001729/0.001729, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2664, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004581/0.271, allocations: 2.965 MB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.2729, allocations: 0.9584 MB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.273, allocations: 7.938 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.2732, allocations: 63.41 kB / 436.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.2736, allocations: 126.9 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.274, allocations: 155.6 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.2745, allocations: 493.9 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2747, allocations: 95.3 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.275, allocations: 203.3 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.2752, allocations: 211.1 kB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.2753, allocations: 36 kB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.2755, allocations: 75.97 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.2756, allocations: 99.61 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.2757, allocations: 175.2 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.2763, allocations: 0.4931 MB / 438.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2763, allocations: 0 / 438.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2763, allocations: 0 / 438.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2763, allocations: 0 / 438.5 MB, free: 0.5352 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.001404/0.2777, allocations: 0.6684 MB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2777, allocations: 12.03 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.2779, allocations: 60.64 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.2784, allocations: 249.3 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2784, allocations: 29.03 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.2785, allocations: 44.3 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.2792, allocations: 444.2 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2792, allocations: 0 / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.2793, allocations: 12 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2793, allocations: 8 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.2798, allocations: 234.5 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.2817, allocations: 0.9804 MB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.2823, allocations: 251.5 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.2829, allocations: 195.9 kB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/0.2832, allocations: 80.16 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.2832, allocations: 42.72 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.2832, allocations: 0 / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001362/0.2846, allocations: 440.6 kB / 442.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2846, allocations: 81.11 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.285, allocations: 292.5 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.285, allocations: 37.7 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2852, allocations: 224.3 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/0.2853, allocations: 107.1 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2854, allocations: 70.06 kB / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2855, allocations: 346.7 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.2858, allocations: 100.7 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.2861, allocations: 211.4 kB / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/0.2866, allocations: 280.6 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.2866, allocations: 0 / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008365/0.2875, allocations: 413.6 kB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2875, allocations: 8 kB / 444.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2875, allocations: 3.984 kB / 444.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.2878, allocations: 60.83 kB / 444.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.2881, allocations: 75.89 kB / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.2901, allocations: 1.813 MB / 446.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.2904, allocations: 39.72 kB / 446.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.2904, allocations: 12 kB / 446.3 MB, free: 8.297 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.0001811/0.2906, allocations: 145.8 kB / 446.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.2906, allocations: 39.75 kB / 446.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007531/0.2914, allocations: 313.4 kB / 446.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2914, allocations: 4 kB / 446.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.2914, allocations: 0 / 446.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2914, allocations: 3.984 kB / 446.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.2918, allocations: 281.1 kB / 447.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2918, allocations: 0 / 447.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.2922, allocations: 67.83 kB / 447.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.2924, allocations: 60.88 kB / 447.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.2924, allocations: 8 kB / 447.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004732/0.2929, allocations: 0.607 MB / 447.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2929, allocations: 3.984 kB / 447.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/0.2938, allocations: 0.4987 MB / 448.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.2939, allocations: 35.69 kB / 448.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.294, allocations: 11.98 kB / 448.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.2942, allocations: 12 kB / 448.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.2943, allocations: 19.95 kB / 448.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.2943, allocations: 8 kB / 448.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.2945, allocations: 211.1 kB / 448.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2945, allocations: 7.938 kB / 448.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.295, allocations: 111.8 kB / 448.7 MB, free: 5.77 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.0002118/0.2952, allocations: 119.2 kB / 448.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.2961, allocations: 399 kB / 449.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2961, allocations: 0 / 449.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.2965, allocations: 119.9 kB / 449.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2969, allocations: 39.16 kB / 449.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2985, allocations: 0.8744 MB / 450.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2987, allocations: 190.4 kB / 450.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.2988, allocations: 30.97 kB / 450.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.2989, allocations: 31.42 kB / 450.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2989, allocations: 4 kB / 450.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of Templates: time 0.009249/0.3082, allocations: 4.118 MB / 454.6 MB, free: 15.85 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 gbode -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.9213742739957524]