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.001415/0.001415, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001585/0.001585, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001663/0.001663, allocations: 51.92 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2915, allocations: 53.37 MB / 431.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007757/0.2993, allocations: 6.115 MB / 437.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.3026, allocations: 1.572 MB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.3031, allocations: 19.94 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.3035, allocations: 178.2 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005829/0.3041, allocations: 293.3 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008986/0.305, allocations: 415.3 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.3065, allocations: 1.399 MB / 441.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004875/0.307, allocations: 297.7 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007061/0.3077, allocations: 0.5024 MB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/0.3085, allocations: 0.5718 MB / 443 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.3087, allocations: 136 kB / 443.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.309, allocations: 180 kB / 443.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.3092, allocations: 275.1 kB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005802/0.3098, allocations: 0.5872 MB / 444.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.3117, allocations: 1.542 MB / 445.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3117, allocations: 7.984 kB / 445.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3117, allocations: 0 / 445.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.892e-05/0.3117, allocations: 0 / 445.7 MB, free: 8.812 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.00294/0.3147, allocations: 1.334 MB / 447 MB, free: 7.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3147, allocations: 12.03 kB / 447 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003771/0.3151, allocations: 128.2 kB / 447.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.316, allocations: 0.5017 MB / 447.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.3161, allocations: 66.38 kB / 447.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3163, allocations: 88.38 kB / 447.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.3179, allocations: 0.851 MB / 448.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.318, allocations: 4 kB / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3181, allocations: 40 kB / 448.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.3181, allocations: 24 kB / 448.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.3199, allocations: 0.8511 MB / 449.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.326, allocations: 3.145 MB / 452.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.3272, allocations: 0.6257 MB / 453.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.3279, allocations: 395.2 kB / 453.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.938e-05/0.328, allocations: 20.62 kB / 453.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.3281, allocations: 43.22 kB / 453.8 MB, free: 492 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.806e-06/0.3281, allocations: 0 / 453.8 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004947/0.333, allocations: 2.198 MB / 456 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.3331, allocations: 60.06 kB / 456.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008133/0.3339, allocations: 0.6057 MB / 456.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.049e-05/0.334, allocations: 45.62 kB / 456.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.3343, allocations: 460.2 kB / 457.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.3346, allocations: 265.7 kB / 457.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.3348, allocations: 146.6 kB / 457.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.335, allocations: 390.7 kB / 458 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006965/0.3357, allocations: 321.9 kB / 458.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.3366, allocations: 476.5 kB / 458.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.3381, allocations: 0.8047 MB / 459.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3381, allocations: 0 / 459.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002339/0.3404, allocations: 1.118 MB / 460.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3404, allocations: 8 kB / 460.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3405, allocations: 7.984 kB / 460.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.3411, allocations: 183.3 kB / 460.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.342, allocations: 203.7 kB / 461.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.3462, allocations: 2.775 MB / 463.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.3469, allocations: 36.03 kB / 463.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.3469, allocations: 36.11 kB / 463.9 MB, free: 6.098 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.0004033/0.3473, allocations: 233.7 kB / 464.1 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.3475, allocations: 91.42 kB / 464.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.3477, allocations: 95.25 kB / 464.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3477, allocations: 8 kB / 464.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.3477, allocations: 0 / 464.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3477, allocations: 3.984 kB / 464.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3489, allocations: 0.8642 MB / 465.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3489, allocations: 3.938 kB / 465.2 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.3497, allocations: 147.8 kB / 465.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/0.3502, allocations: 183.7 kB / 465.5 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/0.3503, allocations: 19.98 kB / 465.5 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/0.3542, allocations: 2.789 MB / 468.3 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3542, allocations: 0 / 468.3 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.357, allocations: 1.435 MB / 469.8 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3572, allocations: 75.66 kB / 469.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.3573, allocations: 16 kB / 469.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006403/0.3579, allocations: 51.95 kB / 469.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.358, allocations: 52.55 kB / 469.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.3581, allocations: 23.98 kB / 470 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005445/0.3587, allocations: 431.1 kB / 470.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 0 / 470.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008425/0.3595, allocations: 243.9 kB / 470.6 MB, free: 15.18 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.0002157/0.3597, allocations: 131.2 kB / 470.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.362, allocations: 0.9901 MB / 471.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.362, allocations: 192 / 471.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.3634, allocations: 0.6158 MB / 472.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.3641, allocations: 158.6 kB / 472.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.3676, allocations: 2.008 MB / 474.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.3683, allocations: 0.9814 MB / 475.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.3687, allocations: 93.45 kB / 475.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3689, allocations: 63.41 kB / 475.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3689, allocations: 0 / 475.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02326/0.3921, allocations: 11.85 MB / 487.5 MB, free: 14.33 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/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: 5.272298136958852]