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.001323/0.001323, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001386/0.001386, allocations: 192.9 kB / 23.71 MB, free: 4.406 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.461/1.461, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.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 0.001797/0.001797, allocations: 47.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2754, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007612/0.2831, allocations: 5.334 MB / 428.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.2866, allocations: 1.478 MB / 429.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008937/0.2875, allocations: 15.94 kB / 429.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.2881, allocations: 170.3 kB / 430.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.2893, allocations: 301.2 kB / 430.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.2904, allocations: 415.4 kB / 430.8 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.2924, allocations: 1.387 MB / 432.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.293, allocations: 284.2 kB / 432.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008166/0.2938, allocations: 0.4985 MB / 432.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008858/0.2947, allocations: 0.5132 MB / 433.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.295, allocations: 136 kB / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.2954, allocations: 168 kB / 433.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.2957, allocations: 267.2 kB / 434 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008008/0.2965, allocations: 0.4901 MB / 434.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.2983, allocations: 1.553 MB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2983, allocations: 0 / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2983, allocations: 0 / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.726e-05/0.2983, allocations: 0 / 436 MB, free: 1.422 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.003202/0.3015, allocations: 1.334 MB / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3016, allocations: 8.031 kB / 437.4 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.3018, allocations: 120.3 kB / 437.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009977/0.3028, allocations: 0.4939 MB / 438 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.3029, allocations: 70.36 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.3031, allocations: 88.33 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.3049, allocations: 1.114 MB / 439.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.3049, allocations: 0 / 439.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.305, allocations: 36 kB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.305, allocations: 20 kB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.3067, allocations: 0.8511 MB / 440.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00563/0.3123, allocations: 2.768 MB / 442.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.3136, allocations: 0.6294 MB / 443.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/0.3143, allocations: 395.2 kB / 444 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.3144, allocations: 12.66 kB / 444 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3144, allocations: 47.2 kB / 444 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.414e-06/0.3144, allocations: 0 / 444 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004788/0.3192, allocations: 2.192 MB / 446.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3193, allocations: 60.06 kB / 446.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.3199, allocations: 0.5536 MB / 446.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/0.32, allocations: 41.7 kB / 446.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.3204, allocations: 452.2 kB / 447.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.3206, allocations: 277.7 kB / 447.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.3209, allocations: 146.6 kB / 447.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3211, allocations: 382.8 kB / 448.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.3218, allocations: 321.9 kB / 448.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.3226, allocations: 472.5 kB / 448.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.3241, allocations: 0.8047 MB / 449.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3241, allocations: 4 kB / 449.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002275/0.3264, allocations: 1.115 MB / 450.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3264, allocations: 10.75 kB / 450.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3264, allocations: 4 kB / 450.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.327, allocations: 188.7 kB / 451 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.3279, allocations: 195.8 kB / 451.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/0.3319, allocations: 2.723 MB / 453.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/0.3325, allocations: 31.97 kB / 453.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.3326, allocations: 35.98 kB / 454 MB, free: 14.96 MB / 366.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.000382/0.333, allocations: 233.7 kB / 454.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.3331, allocations: 83.48 kB / 454.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3333, allocations: 94.52 kB / 454.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3333, allocations: 8 kB / 454.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.3334, allocations: 4 kB / 454.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3334, allocations: 3.984 kB / 454.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.3343, allocations: 0.6074 MB / 455 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3343, allocations: 3.984 kB / 455 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.335, allocations: 147.8 kB / 455.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005094/0.3355, allocations: 176.8 kB / 455.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.3356, allocations: 23.92 kB / 455.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/0.3394, allocations: 2.733 MB / 458.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3394, allocations: 4 kB / 458.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.3421, allocations: 1.42 MB / 459.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3423, allocations: 71.52 kB / 459.6 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3424, allocations: 16 kB / 459.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.343, allocations: 51.89 kB / 459.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.3431, allocations: 56.55 kB / 459.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.3432, allocations: 23.98 kB / 459.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000464/0.3436, allocations: 382.8 kB / 460.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 0 / 460.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008233/0.3445, allocations: 239.9 kB / 460.3 MB, free: 8.445 MB / 366.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.0002155/0.3447, allocations: 131.2 kB / 460.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.3469, allocations: 0.9937 MB / 461.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3469, allocations: 0 / 461.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.3483, allocations: 0.6121 MB / 462.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.349, allocations: 126.5 kB / 462.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.3524, allocations: 2.019 MB / 464.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3528, allocations: 391 kB / 464.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003812/0.3532, allocations: 81.12 kB / 464.7 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.3534, allocations: 51.41 kB / 464.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3534, allocations: 0 / 464.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of Templates: time 0.02255/0.3759, allocations: 11.98 MB / 476.7 MB, free: 8.148 MB / 382.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: 5.205798914656043]