Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 59.91 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2518, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007269/0.2591, allocations: 5.346 MB / 437.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.2622, allocations: 1.521 MB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006888/0.2629, allocations: 19.94 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.2634, allocations: 182.2 kB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008125/0.2642, allocations: 285.3 kB / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009639/0.2652, allocations: 419.3 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.2668, allocations: 1.391 MB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.2672, allocations: 284.7 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.268, allocations: 0.5023 MB / 442.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.2686, allocations: 0.5016 MB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.2688, allocations: 136 kB / 443 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.2691, allocations: 180 kB / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.2694, allocations: 279.1 kB / 443.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.2698, allocations: 493.9 kB / 443.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.2715, allocations: 1.553 MB / 445.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2715, allocations: 0 / 445.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2715, allocations: 0 / 445.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.2716, allocations: 0 / 445.5 MB, free: 9.414 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002988/0.2745, allocations: 1.338 MB / 446.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.2746, allocations: 12.03 kB / 446.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.275, allocations: 128.2 kB / 446.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.2759, allocations: 0.5016 MB / 447.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.2759, allocations: 66.38 kB / 447.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.2761, allocations: 92.36 kB / 447.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.2778, allocations: 1.106 MB / 448.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.2778, allocations: 0 / 448.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.2779, allocations: 36 kB / 448.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.2779, allocations: 24 kB / 448.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.2796, allocations: 0.8511 MB / 449.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.2851, allocations: 2.76 MB / 452.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.2863, allocations: 0.6293 MB / 453 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.287, allocations: 395 kB / 453.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.287, allocations: 8.656 kB / 453.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.2871, allocations: 43.22 kB / 453.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 4.709e-06/0.2871, allocations: 3.984 kB / 453.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004682/0.2918, allocations: 2.194 MB / 455.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2918, allocations: 60.06 kB / 455.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.2925, allocations: 0.5576 MB / 456.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.2926, allocations: 37.7 kB / 456.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.2929, allocations: 452.2 kB / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.2931, allocations: 273.7 kB / 457 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.2934, allocations: 150.6 kB / 457.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.2936, allocations: 378.8 kB / 457.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.2942, allocations: 325.9 kB / 457.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.295, allocations: 480.5 kB / 458.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.2968, allocations: 0.7969 MB / 459.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.2968, allocations: 4 kB / 459.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003545/0.3003, allocations: 1.103 MB / 460.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.3003, allocations: 11.94 kB / 460.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.3004, allocations: 7.984 kB / 460.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008673/0.3012, allocations: 187.1 kB / 460.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.3026, allocations: 199.7 kB / 460.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/0.3085, allocations: 2.718 MB / 463.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.3096, allocations: 40.03 kB / 463.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3097, allocations: 28 kB / 463.4 MB, free: 6.945 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.0005904/0.3103, allocations: 241.6 kB / 463.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.3106, allocations: 75.53 kB / 463.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3108, allocations: 94.66 kB / 463.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3108, allocations: 8 kB / 463.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.3109, allocations: 8 kB / 463.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3109, allocations: 3.984 kB / 463.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3123, allocations: 0.6113 MB / 464.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3123, allocations: 0 / 464.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.3134, allocations: 155.8 kB / 464.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008304/0.3143, allocations: 171.1 kB / 464.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/0.3143, allocations: 19.98 kB / 464.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005914/0.3203, allocations: 2.738 MB / 467.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3203, allocations: 0 / 467.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/0.3246, allocations: 1.424 MB / 468.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.3249, allocations: 71.52 kB / 469 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.3251, allocations: 12 kB / 469 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/0.326, allocations: 55.89 kB / 469 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.3262, allocations: 60.55 kB / 469.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/0.3263, allocations: 23.98 kB / 469.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007347/0.327, allocations: 378.8 kB / 469.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.327, allocations: 0 / 469.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001342/0.3284, allocations: 240 kB / 469.7 MB, free: 444 kB / 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.0003201/0.3287, allocations: 131.1 kB / 469.9 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003498/0.3322, allocations: 0.9901 MB / 470.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3322, allocations: 192 / 470.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.3343, allocations: 0.6235 MB / 471.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3354, allocations: 130.2 kB / 471.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.3407, allocations: 2.048 MB / 473.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.3413, allocations: 394.9 kB / 474 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.3417, allocations: 59.41 kB / 474.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3417, allocations: 0 / 474.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02584/0.3676, allocations: 15.05 MB / 489.1 MB, free: 12.95 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.240043670404702]