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.001399/0.001399, allocations: 83.23 kB / 20.68 MB, free: 1.035 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.001428/0.001428, allocations: 157.1 kB / 23.95 MB, free: 4.168 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.497/1.497, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.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 2.405e-06/2.405e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.37e-05, allocations: 3.906 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.01158/0.01161, allocations: 5.369 MB / 330.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005607/0.01722, allocations: 1.519 MB / 331.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.01858, allocations: 27.75 kB / 331.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008275/0.01941, allocations: 177.7 kB / 332.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.02091, allocations: 306.7 kB / 332.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.02272, allocations: 421.7 kB / 332.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.02544, allocations: 1.435 MB / 334.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.02625, allocations: 277.4 kB / 334.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.02829, allocations: 0.7728 MB / 335.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.02929, allocations: 432.4 kB / 335.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.02956, allocations: 134.8 kB / 335.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.03009, allocations: 180.8 kB / 336 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.03049, allocations: 280.5 kB / 336.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007596/0.03125, allocations: 417.5 kB / 336.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.03409, allocations: 1.622 MB / 338.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.0341, allocations: 0 / 338.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.0341, allocations: 0 / 338.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.944e-05/0.03413, allocations: 1.062 kB / 338.3 MB, free: 7.375 MB / 302.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.004469/0.0386, allocations: 1.328 MB / 339.7 MB, free: 6.348 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.03865, allocations: 8.031 kB / 339.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006275/0.03928, allocations: 132.2 kB / 339.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.04072, allocations: 0.4971 MB / 340.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.04081, allocations: 70.38 kB / 340.4 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.04105, allocations: 88.31 kB / 340.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.04403, allocations: 1.102 MB / 341.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.04406, allocations: 192 / 341.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.04421, allocations: 36.38 kB / 341.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.04425, allocations: 23.94 kB / 341.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.04726, allocations: 0.855 MB / 342.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00915/0.05641, allocations: 2.766 MB / 345.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.05841, allocations: 0.6295 MB / 345.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.05965, allocations: 387.4 kB / 346.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.05973, allocations: 20.64 kB / 346.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.05978, allocations: 39.22 kB / 346.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 3.747e-06/0.05978, allocations: 0 / 346.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.00823/0.06801, allocations: 2.197 MB / 348.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.06808, allocations: 60.06 kB / 348.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.06926, allocations: 0.5498 MB / 349.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.06937, allocations: 45.64 kB / 349.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.06988, allocations: 452.2 kB / 349.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.07027, allocations: 273.7 kB / 349.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/0.07068, allocations: 146.6 kB / 350 MB, free: 11.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003119/0.07099, allocations: 382.8 kB / 350.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.07213, allocations: 321.9 kB / 350.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.07353, allocations: 472.6 kB / 351.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.07606, allocations: 0.8008 MB / 352 MB, free: 9.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.07607, allocations: 0 / 352 MB, free: 9.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003912/0.07998, allocations: 1.107 MB / 353.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.08001, allocations: 8 kB / 353.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.08003, allocations: 4 kB / 353.1 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009701/0.081, allocations: 199.7 kB / 353.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.08253, allocations: 195.8 kB / 353.5 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006199/0.08873, allocations: 2.719 MB / 356.2 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.09006, allocations: 36.05 kB / 356.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.09019, allocations: 31.98 kB / 356.3 MB, free: 5.25 MB / 318.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.0006541/0.09085, allocations: 237.6 kB / 356.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.0911, allocations: 75.53 kB / 356.6 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.09138, allocations: 98.58 kB / 356.7 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.09139, allocations: 4 kB / 356.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.09141, allocations: 4 kB / 356.7 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.09143, allocations: 7.922 kB / 356.7 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.09292, allocations: 0.6074 MB / 357.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.09293, allocations: 0 / 357.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.09419, allocations: 148 kB / 357.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008906/0.09508, allocations: 187.3 kB / 357.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.09518, allocations: 23.98 kB / 357.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.1013, allocations: 2.729 MB / 360.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1014, allocations: 0 / 360.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.106, allocations: 1.416 MB / 361.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.1063, allocations: 67.45 kB / 361.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.1065, allocations: 16 kB / 361.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.1075, allocations: 55.95 kB / 361.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.1077, allocations: 56.53 kB / 362 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.1078, allocations: 23.98 kB / 362 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007659/0.1086, allocations: 382.8 kB / 362.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1086, allocations: 0 / 362.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001477/0.11, allocations: 244 kB / 362.6 MB, free: 14.75 MB / 334.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.0003528/0.1104, allocations: 131.1 kB / 362.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003657/0.1141, allocations: 1.002 MB / 363.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1141, allocations: 3.938 kB / 363.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.1163, allocations: 0.6043 MB / 364.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.1174, allocations: 126.4 kB / 364.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.1224, allocations: 1.81 MB / 366.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.123, allocations: 391 kB / 366.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006069/0.1237, allocations: 85.11 kB / 366.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.1239, allocations: 52.48 kB / 366.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1239, allocations: 0 / 366.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Templates: time 0.02857/0.1525, allocations: 10.78 MB / 377.6 MB, free: 15.84 MB / 350.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: 4.977351181209087]