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.00184/0.00184, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.002121/0.002121, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.441/1.441, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.001521/0.001521, allocations: 55.91 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09453, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.008368/0.1029, allocations: 6.096 MB / 425.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.1062, allocations: 1.521 MB / 426.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006431/0.1069, allocations: 15.94 kB / 426.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.1073, allocations: 174.3 kB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007141/0.108, allocations: 293.2 kB / 427.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.109, allocations: 415.4 kB / 427.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1106, allocations: 1.387 MB / 428.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.1111, allocations: 305.3 kB / 429.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.1119, allocations: 498.4 kB / 429.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007676/0.1127, allocations: 0.568 MB / 430.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.1129, allocations: 136 kB / 430.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.1132, allocations: 168 kB / 430.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.1134, allocations: 275.1 kB / 430.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005845/0.114, allocations: 0.5872 MB / 431.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.1157, allocations: 1.545 MB / 432.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1157, allocations: 4 kB / 432.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1157, allocations: 0 / 432.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.1157, allocations: 0 / 432.9 MB, free: 14.09 MB / 366.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.002907/0.1186, allocations: 1.406 MB / 434.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1187, allocations: 12.02 kB / 434.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1189, allocations: 124.2 kB / 434.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.1197, allocations: 0.5543 MB / 435 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.1198, allocations: 66.38 kB / 435.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.1199, allocations: 92.33 kB / 435.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.1216, allocations: 0.851 MB / 436 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.1216, allocations: 3.938 kB / 436 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.1217, allocations: 44 kB / 436 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.1217, allocations: 27.98 kB / 436.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.1234, allocations: 0.8472 MB / 436.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.1291, allocations: 3.223 MB / 440.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1303, allocations: 0.6294 MB / 440.8 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/0.1311, allocations: 395.1 kB / 441.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.1311, allocations: 16.53 kB / 441.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1312, allocations: 43.06 kB / 441.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.645e-06/0.1312, allocations: 0 / 441.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004772/0.136, allocations: 2.272 MB / 443.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.136, allocations: 64 kB / 443.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/0.1368, allocations: 0.6018 MB / 444.2 MB, free: 2.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.1368, allocations: 41.7 kB / 444.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.1372, allocations: 456.3 kB / 444.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.1374, allocations: 265.7 kB / 444.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.1377, allocations: 150.6 kB / 445 MB, free: 1.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1379, allocations: 386.7 kB / 445.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.1386, allocations: 325.9 kB / 445.7 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/0.1393, allocations: 472.6 kB / 446.2 MB, free: 396 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1683/0.3076, allocations: 0.7987 MB / 447 MB, free: 29.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3076, allocations: 2.906 kB / 447 MB, free: 29.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001931/0.3095, allocations: 1.114 MB / 448.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3096, allocations: 8.859 kB / 448.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3096, allocations: 1.906 kB / 448.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.3101, allocations: 185 kB / 448.3 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.3109, allocations: 199.8 kB / 448.5 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.3138, allocations: 2.89 MB / 451.4 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006545/0.3145, allocations: 36.94 kB / 451.4 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.3145, allocations: 35.89 kB / 451.5 MB, free: 27.73 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.000299/0.3148, allocations: 231 kB / 451.7 MB, free: 27.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3149, allocations: 84.48 kB / 451.8 MB, free: 27.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.3151, allocations: 92.67 kB / 451.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3151, allocations: 8.219 kB / 451.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3151, allocations: 3.375 kB / 451.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3151, allocations: 7.359 kB / 451.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.316, allocations: 0.8873 MB / 452.8 MB, free: 27.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.316, allocations: 0.8125 kB / 452.8 MB, free: 27.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.3167, allocations: 147.4 kB / 452.9 MB, free: 27.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/0.3172, allocations: 186.9 kB / 453.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.3173, allocations: 18.3 kB / 453.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.3203, allocations: 2.898 MB / 456 MB, free: 25.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3203, allocations: 0 / 456 MB, free: 25.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.3229, allocations: 1.428 MB / 457.4 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3231, allocations: 147.2 kB / 457.6 MB, free: 24.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3232, allocations: 18.36 kB / 457.6 MB, free: 24.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.3238, allocations: 51.3 kB / 457.7 MB, free: 24.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3239, allocations: 60.12 kB / 457.7 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.324, allocations: 27.72 kB / 457.7 MB, free: 24.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000473/0.3245, allocations: 427.3 kB / 458.2 MB, free: 24.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3245, allocations: 2.625 kB / 458.2 MB, free: 24.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008304/0.3253, allocations: 244.7 kB / 458.4 MB, free: 24.01 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.0001938/0.3255, allocations: 133.2 kB / 458.5 MB, free: 23.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.3275, allocations: 1.005 MB / 459.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3275, allocations: 2.531 kB / 459.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3287, allocations: 0.6046 MB / 460.1 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.3294, allocations: 146.8 kB / 460.3 MB, free: 23.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.3323, allocations: 2.054 MB / 462.3 MB, free: 21.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3327, allocations: 0.9813 MB / 463.3 MB, free: 21.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.333, allocations: 66.67 kB / 463.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.333, allocations: 5.5 kB / 463.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of Templates: time 0.02022/0.3532, allocations: 15.05 MB / 478.4 MB, free: 15.45 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.39084553765133]