Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001537/0.001537, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001649/0.001649, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2499, allocations: 53.35 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007514/0.2574, allocations: 6.125 MB / 438.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.2604, allocations: 1.564 MB / 440.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006364/0.261, allocations: 19.94 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.2615, allocations: 174.2 kB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008022/0.2623, allocations: 293.2 kB / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000973/0.2633, allocations: 423.3 kB / 441 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.265, allocations: 1.391 MB / 442.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.2656, allocations: 297.7 kB / 442.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008298/0.2664, allocations: 0.5101 MB / 443.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008387/0.2673, allocations: 0.5641 MB / 443.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.2675, allocations: 136 kB / 443.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.2679, allocations: 180 kB / 444 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.2681, allocations: 275.1 kB / 444.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006184/0.2687, allocations: 0.5873 MB / 444.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.2704, allocations: 1.55 MB / 446.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2704, allocations: 0 / 446.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2704, allocations: 0 / 446.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.2704, allocations: 0 / 446.5 MB, free: 8.805 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.002638/0.273, allocations: 1.338 MB / 447.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2731, allocations: 12.03 kB / 447.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.2734, allocations: 132.2 kB / 447.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.2742, allocations: 0.4939 MB / 448.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.2743, allocations: 70.31 kB / 448.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.2744, allocations: 92.36 kB / 448.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.2759, allocations: 0.8549 MB / 449.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.276, allocations: 0 / 449.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/0.276, allocations: 36 kB / 449.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2761, allocations: 24 kB / 449.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.2777, allocations: 0.855 MB / 450.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005388/0.2831, allocations: 3.153 MB / 453.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.2842, allocations: 0.6267 MB / 454.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006891/0.2849, allocations: 395.2 kB / 454.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.285, allocations: 8.656 kB / 454.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.285, allocations: 47.22 kB / 454.6 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 1.974e-06/0.285, allocations: 4 kB / 454.6 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004431/0.2894, allocations: 2.201 MB / 456.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.2895, allocations: 60.06 kB / 456.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.2902, allocations: 0.6096 MB / 457.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.2903, allocations: 37.7 kB / 457.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.2906, allocations: 456.2 kB / 457.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.2908, allocations: 269.7 kB / 458.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.291, allocations: 158.5 kB / 458.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2912, allocations: 382.8 kB / 458.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.2919, allocations: 325.9 kB / 459 MB, free: 11.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.2926, allocations: 474.8 kB / 459.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.294, allocations: 0.8047 MB / 460.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.294, allocations: 0 / 460.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002091/0.2961, allocations: 1.115 MB / 461.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2961, allocations: 8 kB / 461.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2961, allocations: 4 kB / 461.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.2967, allocations: 191.6 kB / 461.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.2975, allocations: 195.7 kB / 461.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.3014, allocations: 2.782 MB / 464.6 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.3021, allocations: 32.05 kB / 464.6 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.3021, allocations: 35.98 kB / 464.7 MB, free: 6.082 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.0003634/0.3025, allocations: 229.7 kB / 464.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.3026, allocations: 87.42 kB / 465 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3028, allocations: 91.27 kB / 465.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3028, allocations: 8 kB / 465.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3028, allocations: 3.984 kB / 465.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3028, allocations: 0 / 465.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3039, allocations: 0.8642 MB / 465.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3039, allocations: 3.938 kB / 465.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007226/0.3046, allocations: 155.8 kB / 466.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.3051, allocations: 184.7 kB / 466.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.3052, allocations: 27.98 kB / 466.3 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.3089, allocations: 2.78 MB / 469.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3089, allocations: 0 / 469.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.3115, allocations: 1.435 MB / 470.5 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.3116, allocations: 79.45 kB / 470.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3117, allocations: 16 kB / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.3123, allocations: 51.95 kB / 470.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3124, allocations: 52.55 kB / 470.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.3125, allocations: 23.98 kB / 470.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005208/0.313, allocations: 427.1 kB / 471.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 471.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007822/0.3138, allocations: 243.9 kB / 471.4 MB, free: 15.17 MB / 382.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.0002291/0.314, allocations: 139.2 kB / 471.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.3161, allocations: 0.9862 MB / 472.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3162, allocations: 0.8125 kB / 472.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.3174, allocations: 0.615 MB / 473.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.3181, allocations: 155 kB / 473.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.3214, allocations: 2.049 MB / 475.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.322, allocations: 0.9775 MB / 476.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.3222, allocations: 71.41 kB / 476.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3222, allocations: 0 / 476.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01982/0.342, allocations: 15.06 MB / 491.4 MB, free: 11.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.000914240954444]