Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.002013/0.002013, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001815/0.001815, allocations: 208.7 kB / 23.73 MB, free: 4.387 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 55.92 kB / 378.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.256, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009345/0.2654, allocations: 6.865 MB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.2697, allocations: 1.87 MB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007824/0.2705, allocations: 31.81 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.271, allocations: 237.7 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009589/0.272, allocations: 452.2 kB / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2732, allocations: 0.5111 MB / 441.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002476/0.2757, allocations: 1.794 MB / 443.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.2765, allocations: 414.9 kB / 443.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.2775, allocations: 0.654 MB / 444.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008079/0.2783, allocations: 0.6218 MB / 445 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.2785, allocations: 180 kB / 445.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.2788, allocations: 176 kB / 445.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.2791, allocations: 362.7 kB / 445.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.2798, allocations: 0.6339 MB / 446.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.2821, allocations: 2.07 MB / 448.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2821, allocations: 0 / 448.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2821, allocations: 0 / 448.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.2822, allocations: 0 / 448.4 MB, free: 5.809 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003732/0.2859, allocations: 1.748 MB / 450.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2859, allocations: 8.031 kB / 450.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.2862, allocations: 167.9 kB / 450.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.2877, allocations: 0.6854 MB / 451.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.2878, allocations: 102.3 kB / 451.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.288, allocations: 127.9 kB / 451.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.2909, allocations: 1.635 MB / 452.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.2909, allocations: 3.938 kB / 452.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.291, allocations: 52 kB / 453 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.2911, allocations: 28 kB / 453 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.2936, allocations: 1.122 MB / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007908/0.3015, allocations: 4.237 MB / 458.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.3039, allocations: 0.9913 MB / 459.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.3051, allocations: 486.1 kB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.3051, allocations: 12.64 kB / 459.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.3052, allocations: 51.16 kB / 459.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.567e-06/0.3052, allocations: 0 / 459.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008873/0.3141, allocations: 2.469 MB / 462.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.3141, allocations: 89.7 kB / 462.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.3153, allocations: 0.7467 MB / 463.2 MB, free: 6.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.495e-05/0.3154, allocations: 49.64 kB / 463.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.3159, allocations: 0.6092 MB / 463.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.3161, allocations: 289.5 kB / 464.1 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.3164, allocations: 174.6 kB / 464.3 MB, free: 5.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.3166, allocations: 394.7 kB / 464.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009694/0.3176, allocations: 365.8 kB / 465 MB, free: 4.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3187, allocations: 0.5901 MB / 465.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.3208, allocations: 0.9404 MB / 466.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3208, allocations: 7.938 kB / 466.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00347/0.3242, allocations: 1.346 MB / 467.9 MB, free: 1.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.3243, allocations: 11.94 kB / 467.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3243, allocations: 4 kB / 467.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/0.3251, allocations: 234.7 kB / 468.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/0.3289, allocations: 0.835 MB / 469 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.3433, allocations: 10.04 MB / 479 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3443, allocations: 139.2 kB / 479.2 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.3444, allocations: 36 kB / 479.2 MB, free: 5.723 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005423/0.3449, allocations: 280.2 kB / 479.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.3451, allocations: 111.3 kB / 479.6 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.3453, allocations: 100.1 kB / 479.7 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.3453, allocations: 8 kB / 479.7 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.3453, allocations: 4 kB / 479.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3453, allocations: 3.984 kB / 479.7 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.3504, allocations: 2.134 MB / 481.8 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3504, allocations: 0 / 481.8 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.351, allocations: 123.9 kB / 482 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.3524, allocations: 428.8 kB / 482.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.3524, allocations: 15.98 kB / 482.4 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/0.3661, allocations: 10.09 MB / 492.5 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3661, allocations: 7.875 kB / 492.5 MB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/0.3711, allocations: 1.937 MB / 494.4 MB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.3714, allocations: 99.34 kB / 494.5 MB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.3715, allocations: 16.12 kB / 494.5 MB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/0.3723, allocations: 103.9 kB / 494.6 MB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.3725, allocations: 72.47 kB / 494.7 MB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.3725, allocations: 23.94 kB / 494.7 MB, free: 5.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008015/0.3733, allocations: 0.499 MB / 495.2 MB, free: 4.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3733, allocations: 0 / 495.2 MB, free: 4.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001437/0.3748, allocations: 379.1 kB / 495.6 MB, free: 4.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.375, allocations: 119.1 kB / 495.7 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005904/0.3809, allocations: 1.952 MB / 497.7 MB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.3809, allocations: 4 kB / 497.7 MB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.3826, allocations: 1.137 MB / 498.8 MB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3837, allocations: 176.8 kB / 499 MB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005097/0.3888, allocations: 2.328 MB / 0.4896 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.3893, allocations: 495.9 kB / 0.49 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.3897, allocations: 94.88 kB / 0.4901 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3899, allocations: 55.44 kB / 0.4902 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3899, allocations: 0 / 0.4902 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Templates: time 0.02749/0.4174, allocations: 14.81 MB / 0.5047 GB, free: 15.42 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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: 5.381127847358584]