Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001971/0.001971, allocations: 112.4 kB / 21.93 MB, free: 5.219 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.002304/0.002304, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 70.52 kB / 348.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005119/0.2679, allocations: 2.908 MB / 400.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2702, allocations: 0.9465 MB / 401.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/0.2707, allocations: 5.438 kB / 401.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.271, allocations: 57.22 kB / 401.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.2715, allocations: 129.6 kB / 401.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.272, allocations: 150.7 kB / 401.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.2725, allocations: 489 kB / 402.3 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.2728, allocations: 104.6 kB / 402.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.273, allocations: 199.2 kB / 402.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2733, allocations: 177.3 kB / 402.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.056e-05/0.2734, allocations: 42.42 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2736, allocations: 71.88 kB / 402.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.2737, allocations: 93.31 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.2739, allocations: 178.9 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.2745, allocations: 0.4891 MB / 403.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2745, allocations: 0 / 403.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2745, allocations: 5.312 kB / 403.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.2745, allocations: 0 / 403.6 MB, free: 5.738 MB / 318.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.001262/0.2758, allocations: 0.6663 MB / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2758, allocations: 12.95 kB / 404.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2759, allocations: 48.31 kB / 404.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.2764, allocations: 249 kB / 404.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.2764, allocations: 26.69 kB / 404.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.2765, allocations: 35.78 kB / 404.6 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.2772, allocations: 454.6 kB / 405.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2772, allocations: 4 kB / 405.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.2773, allocations: 11.31 kB / 405.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2773, allocations: 11.36 kB / 405.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.2778, allocations: 230 kB / 405.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2798, allocations: 0.9815 MB / 406.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.2805, allocations: 247.2 kB / 406.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.281, allocations: 193 kB / 406.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.2813, allocations: 71.12 kB / 406.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2814, allocations: 36.73 kB / 406.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.2814, allocations: 1.375 kB / 406.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001259/0.2826, allocations: 440.5 kB / 407.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.2827, allocations: 85.89 kB / 407.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.283, allocations: 299.8 kB / 407.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.283, allocations: 31.08 kB / 407.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.2831, allocations: 225.8 kB / 407.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.2831, allocations: 101.3 kB / 408 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.2832, allocations: 74.03 kB / 408.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.2833, allocations: 348 kB / 408.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.2835, allocations: 97.73 kB / 408.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.2837, allocations: 200.1 kB / 408.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.2842, allocations: 285.2 kB / 409 MB, free: 2.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2842, allocations: 3.938 kB / 409 MB, free: 2.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007196/0.2849, allocations: 418.9 kB / 409.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2849, allocations: 5.188 kB / 409.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2849, allocations: 6.719 kB / 409.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.2852, allocations: 63.5 kB / 409.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.2855, allocations: 71.61 kB / 409.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.2869, allocations: 1.813 MB / 411.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2871, allocations: 39.77 kB / 411.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.2871, allocations: 15.27 kB / 411.4 MB, free: 436 kB / 318.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.0001201/0.2872, allocations: 154.6 kB / 411.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.2873, allocations: 39.11 kB / 411.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.2879, allocations: 314.7 kB / 411.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2879, allocations: 3.375 kB / 411.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2879, allocations: 4.688 kB / 411.9 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.288, allocations: 1.266 kB / 411.9 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.2883, allocations: 285.5 kB / 412.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2883, allocations: 0 / 412.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.2887, allocations: 54.73 kB / 412.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.2889, allocations: 61.66 kB / 412.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.2889, allocations: 8.75 kB / 412.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004806/0.2894, allocations: 0.6111 MB / 412.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2894, allocations: 4.812 kB / 412.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.2903, allocations: 0.4926 MB / 413.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.2904, allocations: 56.91 kB / 413.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.2905, allocations: 6.359 kB / 413.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2907, allocations: 14.05 kB / 413.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2908, allocations: 23.91 kB / 413.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2908, allocations: 7.812 kB / 413.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.291, allocations: 209 kB / 413.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.291, allocations: 0 / 413.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.2915, allocations: 115.8 kB / 413.9 MB, free: 14.8 MB / 334.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.0002016/0.2917, allocations: 131.4 kB / 414 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008252/0.2925, allocations: 384.2 kB / 414.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2925, allocations: 0 / 414.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.2929, allocations: 133.8 kB / 414.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2932, allocations: 36.61 kB / 414.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2947, allocations: 0.8788 MB / 415.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.2948, allocations: 186.9 kB / 415.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.2949, allocations: 32.77 kB / 415.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2949, allocations: 0 / 415.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Templates: time 0.008338/0.3033, allocations: 5.438 MB / 421.1 MB, free: 10.71 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.727047565858811]