Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001876/0.001876, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002442/0.002442, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2767, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.008591/0.2853, allocations: 6.121 MB / 438.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.2895, allocations: 1.568 MB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2906, allocations: 15.94 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.2913, allocations: 178.2 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.2925, allocations: 293.3 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.2938, allocations: 419.3 kB / 440.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.2963, allocations: 1.395 MB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.297, allocations: 293.7 kB / 442.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2981, allocations: 0.5101 MB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008614/0.2989, allocations: 0.5719 MB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.2992, allocations: 132 kB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.2996, allocations: 187.9 kB / 443.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.2999, allocations: 279.1 kB / 444.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007229/0.3006, allocations: 0.5833 MB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.3028, allocations: 1.543 MB / 446.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3028, allocations: 4 kB / 446.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3028, allocations: 0 / 446.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.425e-05/0.3029, allocations: 0 / 446.2 MB, free: 8.957 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.003577/0.3064, allocations: 1.342 MB / 447.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.3065, allocations: 12.02 kB / 447.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/0.307, allocations: 132.2 kB / 447.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3081, allocations: 0.49 MB / 448.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.3082, allocations: 66.38 kB / 448.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.3083, allocations: 88.38 kB / 448.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.3103, allocations: 0.8549 MB / 449.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.3103, allocations: 0 / 449.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3104, allocations: 36 kB / 449.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.3104, allocations: 20 kB / 449.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.3124, allocations: 0.8628 MB / 450.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006628/0.319, allocations: 3.149 MB / 453.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3204, allocations: 0.6258 MB / 453.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/0.3211, allocations: 391.4 kB / 454.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.3212, allocations: 12.66 kB / 454.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.3213, allocations: 47.2 kB / 454.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.765e-06/0.3213, allocations: 0 / 454.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005175/0.3264, allocations: 2.194 MB / 456.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.3265, allocations: 60.06 kB / 456.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/0.3274, allocations: 0.6096 MB / 457.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.3274, allocations: 41.7 kB / 457.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.3278, allocations: 456.3 kB / 457.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.3281, allocations: 269.7 kB / 457.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.3283, allocations: 150.5 kB / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.3286, allocations: 386.8 kB / 458.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.3294, allocations: 325.9 kB / 458.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/0.3303, allocations: 472.6 kB / 459.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.3319, allocations: 0.8047 MB / 460 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3319, allocations: 7.938 kB / 460 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002533/0.3345, allocations: 1.115 MB / 461.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.3345, allocations: 6.188 kB / 461.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3345, allocations: 4 kB / 461.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/0.3351, allocations: 188.8 kB / 461.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/0.3361, allocations: 195.7 kB / 461.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.3405, allocations: 2.798 MB / 464.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.3413, allocations: 39.98 kB / 464.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.3414, allocations: 35.98 kB / 464.4 MB, free: 6.234 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.0004397/0.3419, allocations: 221.7 kB / 464.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.342, allocations: 87.42 kB / 464.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3423, allocations: 95.25 kB / 464.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3423, allocations: 8 kB / 464.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/0.3423, allocations: 11.98 kB / 464.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.3423, allocations: 3.984 kB / 464.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3436, allocations: 0.8564 MB / 465.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.3436, allocations: 3.938 kB / 465.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.3444, allocations: 147.8 kB / 465.8 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005792/0.345, allocations: 183.4 kB / 466 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.3451, allocations: 23.98 kB / 466 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/0.3493, allocations: 2.78 MB / 468.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3493, allocations: 0 / 468.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.3523, allocations: 1.428 MB / 470.2 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.3526, allocations: 75.47 kB / 470.3 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.3527, allocations: 16 kB / 470.3 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007049/0.3534, allocations: 51.95 kB / 470.4 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.3535, allocations: 56.55 kB / 470.4 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.3536, allocations: 28.22 kB / 470.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000575/0.3542, allocations: 427 kB / 470.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3542, allocations: 4 kB / 470.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009165/0.3551, allocations: 243.9 kB / 471.1 MB, free: 15.34 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.0002544/0.3554, allocations: 134.8 kB / 471.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.358, allocations: 0.9942 MB / 472.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.358, allocations: 0 / 472.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.3595, allocations: 0.6156 MB / 472.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.3604, allocations: 150.9 kB / 473 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.3642, allocations: 2.023 MB / 475 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.3649, allocations: 0.9814 MB / 476 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004905/0.3654, allocations: 89.47 kB / 476.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.3656, allocations: 55.42 kB / 476.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3656, allocations: 0 / 476.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02469/0.3903, allocations: 11.83 MB / 488 MB, free: 14.49 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.167785486206412]