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.001361/0.001361, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001661/0.001661, allocations: 161.3 kB / 24.91 MB, free: 8.762 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 1.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.457 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.443e-06/1.443e-06, allocations: 0 / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.455e-05, allocations: 2.312 kB / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005186/0.005211, allocations: 5.882 MB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.008186, allocations: 1.594 MB / 280.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.008813, allocations: 15.94 kB / 280.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.009188, allocations: 174.2 kB / 281.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007803/0.009969, allocations: 317 kB / 281.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009682/0.01094, allocations: 419.2 kB / 281.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.01247, allocations: 1.437 MB / 283.3 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.01289, allocations: 293.7 kB / 283.6 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.01407, allocations: 0.772 MB / 284.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005579/0.01463, allocations: 450.8 kB / 284.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.01478, allocations: 136 kB / 284.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.01508, allocations: 183.9 kB / 285.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.01522, allocations: 271.1 kB / 285.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.01555, allocations: 439 kB / 285.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008551/0.01641, allocations: 0.9461 MB / 286.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01641, allocations: 8 kB / 286.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01641, allocations: 0 / 286.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.01643, allocations: 0 / 286.7 MB, free: 3.797 MB / 266.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.001455/0.01788, allocations: 1.313 MB / 288 MB, free: 2.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.01792, allocations: 8.031 kB / 288 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.0182, allocations: 160.8 kB / 288.2 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.01864, allocations: 377.2 kB / 288.6 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.01868, allocations: 62.38 kB / 288.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.01878, allocations: 108.3 kB / 288.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.01946, allocations: 0.8021 MB / 289.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.01948, allocations: 192 / 289.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.01953, allocations: 36.38 kB / 289.6 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.01955, allocations: 27.94 kB / 289.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.01992, allocations: 273.8 kB / 289.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/0.1373, allocations: 2.054 MB / 291.9 MB, free: 25.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.1378, allocations: 363.8 kB / 292.3 MB, free: 25.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.138, allocations: 173.7 kB / 292.5 MB, free: 25.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.138, allocations: 19.53 kB / 292.5 MB, free: 25.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.138, allocations: 50.88 kB / 292.5 MB, free: 25.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 1.974e-06/0.138, allocations: 0 / 292.5 MB, free: 25.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001878/0.1399, allocations: 1.127 MB / 293.6 MB, free: 25.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1399, allocations: 59.98 kB / 293.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.1403, allocations: 487.9 kB / 294.2 MB, free: 25.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.1404, allocations: 38.8 kB / 294.2 MB, free: 25.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1405, allocations: 383.6 kB / 294.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1406, allocations: 275.6 kB / 294.9 MB, free: 24.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1408, allocations: 147.8 kB / 295 MB, free: 24.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1409, allocations: 397.1 kB / 295.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.1411, allocations: 95.27 kB / 295.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.1413, allocations: 241.7 kB / 295.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.1418, allocations: 421.8 kB / 296.1 MB, free: 24.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1418, allocations: 1.656 kB / 296.1 MB, free: 24.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008028/0.1426, allocations: 0.543 MB / 296.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1426, allocations: 7.875 kB / 296.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1426, allocations: 2.531 kB / 296.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.1429, allocations: 146.2 kB / 296.8 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.1435, allocations: 217.2 kB / 297 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.1451, allocations: 1.972 MB / 299 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.1454, allocations: 29.17 kB / 299 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.1455, allocations: 26.58 kB / 299.1 MB, free: 22.68 MB / 266.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.0001683/0.1456, allocations: 165.1 kB / 299.2 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1457, allocations: 72.81 kB / 299.3 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/0.1458, allocations: 89.3 kB / 299.4 MB, free: 22.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.1458, allocations: 10.3 kB / 299.4 MB, free: 22.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.1458, allocations: 3.094 kB / 299.4 MB, free: 22.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1459, allocations: 4.031 kB / 299.4 MB, free: 22.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.1464, allocations: 444.2 kB / 299.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1464, allocations: 0.875 kB / 299.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.1469, allocations: 169.6 kB / 300 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002985/0.1472, allocations: 151.2 kB / 300.2 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.1472, allocations: 18.55 kB / 300.2 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.1486, allocations: 1.968 MB / 302.1 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1486, allocations: 0 / 302.1 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/0.1495, allocations: 0.689 MB / 302.8 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.1496, allocations: 61.86 kB / 302.9 MB, free: 20.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.1496, allocations: 13.7 kB / 302.9 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.1498, allocations: 52.33 kB / 303 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.1499, allocations: 54.02 kB / 303 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.15, allocations: 19.73 kB / 303 MB, free: 20.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1501, allocations: 214.3 kB / 303.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1501, allocations: 0 / 303.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000664/0.1508, allocations: 241.2 kB / 303.5 MB, free: 20.59 MB / 266.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.0001768/0.151, allocations: 115.7 kB / 303.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009976/0.152, allocations: 0.638 MB / 304.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/0.152, allocations: 5.969 kB / 304.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.1525, allocations: 462.5 kB / 304.7 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1529, allocations: 135 kB / 304.8 MB, free: 20.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1547, allocations: 1.516 MB / 306.3 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1548, allocations: 179.7 kB / 306.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.1551, allocations: 88.22 kB / 306.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.1554, allocations: 213.3 kB / 306.8 MB, free: 19.06 MB / 266.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1554, allocations: 0 / 306.8 MB, free: 19.06 MB / 266.7 MB Notification: Performance of Templates: time 0.01365/0.1691, allocations: 11.72 MB / 318.5 MB, free: 7.992 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.989801671821624]