Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001272/0.001272, allocations: 81.06 kB / 20.68 MB, free: 1.035 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.001431/0.001431, allocations: 155.6 kB / 23.94 MB, free: 4.176 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.459/1.459, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.999e-05, allocations: 3.781 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005914/0.005944, allocations: 5.323 MB / 324.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004026/0.009971, allocations: 1.487 MB / 325.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.01102, allocations: 23.72 kB / 325.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.01153, allocations: 168.7 kB / 325.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.01254, allocations: 318.1 kB / 326.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.01382, allocations: 406.2 kB / 326.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002001/0.01582, allocations: 1.446 MB / 328.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/0.01641, allocations: 281.5 kB / 328.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.01787, allocations: 0.7632 MB / 329.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.01865, allocations: 437.4 kB / 329.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.01883, allocations: 134.2 kB / 329.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.01918, allocations: 169.5 kB / 329.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.01947, allocations: 280 kB / 330.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005789/0.02005, allocations: 420.8 kB / 330.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.02232, allocations: 1.616 MB / 332.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.02233, allocations: 1.062 kB / 332.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.02233, allocations: 0 / 332.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.567e-05/0.02237, allocations: 4 kB / 332.2 MB, free: 11.47 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.003064/0.02543, allocations: 1.317 MB / 333.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.02548, allocations: 9.828 kB / 333.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.02573, allocations: 122.6 kB / 333.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009359/0.02667, allocations: 0.4891 MB / 334.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.02673, allocations: 65.81 kB / 334.2 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.02688, allocations: 93.83 kB / 334.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.02885, allocations: 1.106 MB / 335.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.02888, allocations: 192 / 335.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/0.02897, allocations: 37.03 kB / 335.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.029, allocations: 29.09 kB / 335.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.03082, allocations: 0.8532 MB / 336.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006103/0.03692, allocations: 2.758 MB / 339 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.03822, allocations: 0.6385 MB / 339.7 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/0.03902, allocations: 395.8 kB / 340.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.03909, allocations: 9.562 kB / 340.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/0.03916, allocations: 44.47 kB / 340.1 MB, free: 6.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=69): time 3.486e-06/0.03916, allocations: 0 / 340.1 MB, free: 6.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005609/0.04477, allocations: 2.189 MB / 342.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.04483, allocations: 60.06 kB / 342.4 MB, free: 3.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007713/0.0456, allocations: 0.5536 MB / 342.9 MB, free: 3.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.04568, allocations: 37.7 kB / 342.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.04604, allocations: 452.3 kB / 343.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.04628, allocations: 269.7 kB / 343.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.04655, allocations: 150.6 kB / 343.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.04677, allocations: 378.8 kB / 344.2 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.04746, allocations: 325.9 kB / 344.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/0.04835, allocations: 480.5 kB / 345 MB, free: 1.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.04993, allocations: 0.7969 MB / 345.8 MB, free: 380 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.04993, allocations: 4 kB / 345.8 MB, free: 376 kB / 302.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002412/0.05234, allocations: 1.103 MB / 346.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.05237, allocations: 11.12 kB / 346.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.05238, allocations: 4 kB / 346.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.05299, allocations: 196.6 kB / 347.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/0.05393, allocations: 199.7 kB / 347.3 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.05833, allocations: 2.714 MB / 350 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007515/0.05908, allocations: 32.05 kB / 350 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.05916, allocations: 39.98 kB / 350 MB, free: 11.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 89 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004943/0.05965, allocations: 233.6 kB / 350.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.05981, allocations: 75.53 kB / 350.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.06001, allocations: 94.56 kB / 350.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.06002, allocations: 8 kB / 350.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.06003, allocations: 4 kB / 350.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.06005, allocations: 7.922 kB / 350.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.06107, allocations: 0.6189 MB / 351.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.06107, allocations: 4.125 kB / 351.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.06185, allocations: 151.8 kB / 351.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.06241, allocations: 180.7 kB / 351.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-05/0.06248, allocations: 23.98 kB / 351.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003938/0.06641, allocations: 2.718 MB / 354.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.06641, allocations: 4 kB / 354.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.06937, allocations: 1.416 MB / 355.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.06956, allocations: 63.52 kB / 355.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.06969, allocations: 16 kB / 355.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/0.07038, allocations: 55.95 kB / 355.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.07051, allocations: 56.55 kB / 355.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.07058, allocations: 23.98 kB / 355.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005114/0.07109, allocations: 382.8 kB / 356.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.07109, allocations: 0 / 356.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009481/0.07204, allocations: 243.9 kB / 356.4 MB, free: 5.461 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002652/0.0723, allocations: 135.2 kB / 356.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.07477, allocations: 0.9979 MB / 357.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.07477, allocations: 0 / 357.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.07625, allocations: 0.6006 MB / 358.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.077, allocations: 138.9 kB / 358.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.0805, allocations: 1.804 MB / 360.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.08095, allocations: 395 kB / 360.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.08134, allocations: 85.11 kB / 360.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.08154, allocations: 56.48 kB / 360.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.08154, allocations: 0 / 360.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of Templates: time 0.02182/0.1034, allocations: 10.78 MB / 371.4 MB, free: 6.555 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.8077075108885765]