Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005959/0.005959, allocations: 107.1 kB / 21.98 MB, free: 5.223 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.001436/0.001436, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2415, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.008109/0.2496, allocations: 6.124 MB / 439.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.2532, allocations: 1.568 MB / 440.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.2539, allocations: 19.94 kB / 440.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.2543, allocations: 178.2 kB / 441.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006837/0.255, allocations: 293.2 kB / 441.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.2559, allocations: 411.4 kB / 441.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.2575, allocations: 1.399 MB / 443.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.258, allocations: 301.7 kB / 443.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008425/0.2588, allocations: 0.5062 MB / 444 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.2596, allocations: 0.5641 MB / 444.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.2598, allocations: 136 kB / 444.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.2602, allocations: 184 kB / 444.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.2604, allocations: 275.1 kB / 445.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006289/0.261, allocations: 0.5834 MB / 445.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.2628, allocations: 1.55 MB / 447.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2629, allocations: 0 / 447.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2629, allocations: 3.938 kB / 447.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.2629, allocations: 4 kB / 447.2 MB, free: 8.832 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.002797/0.2657, allocations: 1.338 MB / 448.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2657, allocations: 8.031 kB / 448.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.2661, allocations: 128.2 kB / 448.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.2669, allocations: 0.4939 MB / 449.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.267, allocations: 66.38 kB / 449.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.2672, allocations: 88.38 kB / 449.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.2689, allocations: 0.851 MB / 450.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2689, allocations: 0 / 450.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.269, allocations: 40 kB / 450.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.2691, allocations: 24 kB / 450.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.2709, allocations: 0.8511 MB / 451.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/0.2768, allocations: 3.161 MB / 454.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.278, allocations: 0.6189 MB / 454.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/0.2788, allocations: 403.2 kB / 455.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-05/0.2788, allocations: 16.62 kB / 455.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.2789, allocations: 43.16 kB / 455.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.194e-06/0.2789, allocations: 0 / 455.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004837/0.2837, allocations: 2.194 MB / 457.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2838, allocations: 64.06 kB / 457.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.2846, allocations: 0.6057 MB / 458.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.2846, allocations: 41.7 kB / 458.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.285, allocations: 456.3 kB / 458.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.2853, allocations: 265.7 kB / 459 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.2855, allocations: 150.6 kB / 459.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.2857, allocations: 382.8 kB / 459.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.2865, allocations: 325.9 kB / 459.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/0.2873, allocations: 476.5 kB / 460.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.2888, allocations: 0.8086 MB / 461.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2888, allocations: 0 / 461.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002399/0.2912, allocations: 1.115 MB / 462.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2912, allocations: 8 kB / 462.2 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2913, allocations: 4 kB / 462.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.2919, allocations: 187.5 kB / 462.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.2928, allocations: 207.7 kB / 462.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/0.297, allocations: 2.789 MB / 465.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.2978, allocations: 32.03 kB / 465.4 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.2978, allocations: 32 kB / 465.4 MB, free: 6.113 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.0004137/0.2983, allocations: 229.7 kB / 465.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.2984, allocations: 87.42 kB / 465.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.2986, allocations: 99.27 kB / 465.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.2986, allocations: 8 kB / 465.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.2986, allocations: 0 / 465.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2986, allocations: 7.984 kB / 465.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.2998, allocations: 0.8525 MB / 466.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.2998, allocations: 7.938 kB / 466.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.3006, allocations: 151.8 kB / 466.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/0.3012, allocations: 176.7 kB / 467 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.3012, allocations: 19.98 kB / 467.1 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/0.3053, allocations: 2.784 MB / 469.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3053, allocations: 0 / 469.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.3083, allocations: 1.439 MB / 471.3 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.3085, allocations: 75.66 kB / 471.4 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.3086, allocations: 16.08 kB / 471.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.3093, allocations: 59.83 kB / 471.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.3094, allocations: 56.55 kB / 471.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.3095, allocations: 23.98 kB / 471.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005446/0.31, allocations: 431.2 kB / 471.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.31, allocations: 3.938 kB / 471.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008235/0.3108, allocations: 243.9 kB / 472.2 MB, free: 15.19 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.0002178/0.3111, allocations: 124.9 kB / 472.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00231/0.3134, allocations: 0.9901 MB / 473.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3134, allocations: 0 / 473.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3148, allocations: 0.6158 MB / 473.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.3155, allocations: 150.9 kB / 474.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.3191, allocations: 2.055 MB / 476.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/0.3197, allocations: 0.9814 MB / 477.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.32, allocations: 67.41 kB / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.32, allocations: 0 / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Templates: time 0.02183/0.3418, allocations: 15.05 MB / 492.2 MB, free: 11.12 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.476942616980523]