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.0008049/0.0008049, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002083, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000775/0.000775, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003265/0.00404, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.993/0.993, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09868/1.092, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.372e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.0046/0.004613, allocations: 5.921 MB / 250.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.007148, allocations: 1.598 MB / 252.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.007491, allocations: 23.88 kB / 252.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.007708, allocations: 174.3 kB / 252.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.008124, allocations: 320.9 kB / 252.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.008707, allocations: 415.3 kB / 253 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.009799, allocations: 1.422 MB / 254.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.01009, allocations: 293.7 kB / 254.7 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.0107, allocations: 0.8567 MB / 255.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.01105, allocations: 454.7 kB / 256 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.01115, allocations: 136 kB / 256.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.01135, allocations: 184 kB / 256.3 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.01147, allocations: 203.4 kB / 256.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.01171, allocations: 351.4 kB / 256.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.01232, allocations: 0.8566 MB / 257.7 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.01233, allocations: 0 / 257.7 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01233, allocations: 0 / 257.7 MB, free: 1.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.01235, allocations: 0 / 257.7 MB, free: 1.066 MB / 250.7 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.001382/0.01373, allocations: 1.524 MB / 259.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.01376, allocations: 15.92 kB / 259.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.01401, allocations: 241.9 kB / 259.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.01439, allocations: 385.1 kB / 259.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.01443, allocations: 66.38 kB / 259.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-05/0.01451, allocations: 92.33 kB / 260 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.0154, allocations: 0.806 MB / 260.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01542, allocations: 192 / 260.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.01546, allocations: 40.38 kB / 260.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.01548, allocations: 23.94 kB / 260.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.01581, allocations: 277.8 kB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.01808, allocations: 2.06 MB / 263.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.01842, allocations: 369.2 kB / 263.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.01859, allocations: 179.2 kB / 263.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.01863, allocations: 12.66 kB / 263.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.01865, allocations: 43.22 kB / 263.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 1.713e-06/0.01865, allocations: 0 / 263.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.00143/0.02008, allocations: 1.136 MB / 264.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.02011, allocations: 64 kB / 265 MB, free: 9.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.02038, allocations: 487 kB / 265.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.02041, allocations: 37.7 kB / 265.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.02056, allocations: 393.4 kB / 265.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.02068, allocations: 265.7 kB / 266.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.02082, allocations: 150.5 kB / 266.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.02092, allocations: 390.5 kB / 266.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.02104, allocations: 93.95 kB / 266.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.02123, allocations: 244.6 kB / 267 MB, free: 7.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.02158, allocations: 423.8 kB / 267.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02158, allocations: 4 kB / 267.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006093/0.02219, allocations: 0.5387 MB / 268 MB, free: 6.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.02221, allocations: 8 kB / 268 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.02221, allocations: 7.938 kB / 268 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.0225, allocations: 152 kB / 268.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.023, allocations: 239.6 kB / 268.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.02444, allocations: 1.973 MB / 270.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.02465, allocations: 31.92 kB / 270.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.02468, allocations: 27.98 kB / 270.4 MB, free: 3.84 MB / 266.7 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.0001417/0.02482, allocations: 157.6 kB / 270.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.02489, allocations: 71.92 kB / 270.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.02498, allocations: 98.56 kB / 270.7 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02498, allocations: 8 kB / 270.7 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.02498, allocations: 0 / 270.7 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.02499, allocations: 7.984 kB / 270.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.02538, allocations: 442.5 kB / 271.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02538, allocations: 0 / 271.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.02578, allocations: 175.8 kB / 271.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.02582, allocations: 63.53 kB / 271.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.02608, allocations: 148.7 kB / 271.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.02611, allocations: 19.98 kB / 271.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.02745, allocations: 1.969 MB / 273.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02745, allocations: 0 / 273.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.02814, allocations: 0.6937 MB / 274.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.02819, allocations: 16 kB / 274.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.02841, allocations: 43.97 kB / 274.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.02847, allocations: 52.55 kB / 274.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.0285, allocations: 27.98 kB / 274.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.02863, allocations: 212.4 kB / 274.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02863, allocations: 0 / 274.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006518/0.02928, allocations: 243.9 kB / 274.8 MB, free: 15.29 MB / 282.7 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.0001216/0.0294, allocations: 112.3 kB / 274.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.03007, allocations: 0.6401 MB / 275.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/0.03009, allocations: 20.83 kB / 275.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.03053, allocations: 459.7 kB / 276 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.03087, allocations: 205.1 kB / 276.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.03555, allocations: 1.572 MB / 277.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.03565, allocations: 183.2 kB / 278 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.03584, allocations: 89.11 kB / 278.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.03613, allocations: 213.2 kB / 278.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03614, allocations: 0 / 278.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of Templates: time 0.1117/0.1479, allocations: 12.24 MB / 290.5 MB, free: 32.22 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.793807214125991]