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.001082/0.001082, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.005164/0.005164, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.9033/0.9033, allocations: 177 MB / 204.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.873e-06/1.873e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.652e-05, allocations: 3.266 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004522/0.004548, allocations: 5.36 MB / 331.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.007189, allocations: 1.517 MB / 332.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.007642, allocations: 27.81 kB / 332.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.007929, allocations: 174.3 kB / 332.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.008382, allocations: 309 kB / 333.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.009088, allocations: 427.2 kB / 333.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000907/0.009995, allocations: 1.437 MB / 335 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.01033, allocations: 277.7 kB / 335.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.01098, allocations: 0.7564 MB / 336.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.01134, allocations: 442.7 kB / 336.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01145, allocations: 132 kB / 336.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.01166, allocations: 183.9 kB / 336.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.01179, allocations: 279.1 kB / 337.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.01207, allocations: 419 kB / 337.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.01341, allocations: 1.62 MB / 339.1 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01341, allocations: 0 / 339.1 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01341, allocations: 3.938 kB / 339.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.01342, allocations: 0 / 339.1 MB, free: 1.953 MB / 298.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.001469/0.01489, allocations: 1.318 MB / 340.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.01493, allocations: 16.03 kB / 340.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.01518, allocations: 128.2 kB / 340.6 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.01576, allocations: 0.497 MB / 341.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.01579, allocations: 66.38 kB / 341.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.01589, allocations: 88.38 kB / 341.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.01692, allocations: 1.106 MB / 342.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.01694, allocations: 192 / 342.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.017, allocations: 40.38 kB / 342.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.01701, allocations: 27.94 kB / 342.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.01801, allocations: 0.8433 MB / 343.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.02125, allocations: 2.77 MB / 346 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.02194, allocations: 0.6295 MB / 346.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.02236, allocations: 391.4 kB / 347 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.0224, allocations: 12.64 kB / 347 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.02242, allocations: 43.22 kB / 347.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.014e-06/0.02243, allocations: 0 / 347.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002711/0.02514, allocations: 2.19 MB / 349.3 MB, free: 7.508 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.02517, allocations: 64.06 kB / 349.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.0256, allocations: 0.5498 MB / 349.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.02564, allocations: 37.7 kB / 349.9 MB, free: 6.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.02586, allocations: 464.2 kB / 350.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.02599, allocations: 261.7 kB / 350.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.02615, allocations: 146.6 kB / 350.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.02628, allocations: 382.8 kB / 351.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.02669, allocations: 329.8 kB / 351.5 MB, free: 5.258 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008196/0.02751, allocations: 472.5 kB / 351.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.02839, allocations: 0.8008 MB / 352.7 MB, free: 3.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02839, allocations: 4 kB / 352.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001229/0.02962, allocations: 1.107 MB / 353.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.02964, allocations: 8 kB / 353.8 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.02965, allocations: 4 kB / 353.8 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/0.02999, allocations: 195.9 kB / 354 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.03041, allocations: 199.8 kB / 354.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.03266, allocations: 2.719 MB / 356.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.03297, allocations: 31.98 kB / 357 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.03301, allocations: 35.98 kB / 357 MB, free: 15.5 MB / 330.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.000259/0.03327, allocations: 233.6 kB / 357.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.03334, allocations: 79.53 kB / 357.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.03343, allocations: 90.58 kB / 357.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.03344, allocations: 8 kB / 357.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.03345, allocations: 4 kB / 357.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.03345, allocations: 7.922 kB / 357.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.034, allocations: 0.6113 MB / 358 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.034, allocations: 4.125 kB / 358 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.03435, allocations: 147.8 kB / 358.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.03464, allocations: 183.4 kB / 358.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.03467, allocations: 15.98 kB / 358.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.03702, allocations: 2.732 MB / 361.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03702, allocations: 0 / 361.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.03854, allocations: 1.416 MB / 362.5 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.03861, allocations: 67.52 kB / 362.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.03866, allocations: 16 kB / 362.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.03894, allocations: 51.95 kB / 362.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.03903, allocations: 52.55 kB / 362.7 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.03906, allocations: 31.98 kB / 362.7 MB, free: 9.605 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002799/0.03934, allocations: 378.8 kB / 363.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03934, allocations: 0 / 363.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.03987, allocations: 240 kB / 363.3 MB, free: 9.004 MB / 330.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.0001772/0.04005, allocations: 135.1 kB / 363.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.04131, allocations: 1.005 MB / 364.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.04132, allocations: 0 / 364.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.04201, allocations: 0.6082 MB / 365.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.04243, allocations: 122.5 kB / 365.2 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.04459, allocations: 1.848 MB / 367.1 MB, free: 5.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.04481, allocations: 395 kB / 367.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.04498, allocations: 68.47 kB / 367.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04498, allocations: 0 / 367.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of Templates: time 0.01308/0.05806, allocations: 15.08 MB / 382.6 MB, free: 5.684 MB / 346.7 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.268178999423981]