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.000744/0.000744, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009559/0.0017, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006717/0.0006717, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009224/0.001594, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9842/0.9842, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08411/1.068, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.132e-06/1.132e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.361e-05, allocations: 6.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004301/0.004315, allocations: 5.909 MB / 251.1 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.006238, allocations: 1.606 MB / 252.7 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.006451, allocations: 19.94 kB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.006659, allocations: 182.2 kB / 252.9 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.006975, allocations: 309 kB / 253.2 MB, free: 5.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.007399, allocations: 415.3 kB / 253.7 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008197/0.008219, allocations: 1.433 MB / 255.1 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.008526, allocations: 293.7 kB / 255.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006616/0.009188, allocations: 0.8412 MB / 256.2 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.009553, allocations: 462.8 kB / 256.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.009667, allocations: 135.9 kB / 256.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.00988, allocations: 180 kB / 257 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.009999, allocations: 211.4 kB / 257.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.01023, allocations: 351.4 kB / 257.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.01083, allocations: 0.8604 MB / 258.4 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.01084, allocations: 0 / 258.4 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01084, allocations: 0 / 258.4 MB, free: 288 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.01085, allocations: 0 / 258.4 MB, free: 288 kB / 250.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.001594/0.01244, allocations: 1.524 MB / 259.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.01247, allocations: 16.62 kB / 259.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.01273, allocations: 233.9 kB / 260.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.0131, allocations: 381.2 kB / 260.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.01314, allocations: 70.31 kB / 260.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.01322, allocations: 96.33 kB / 260.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.01382, allocations: 0.8099 MB / 261.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.01383, allocations: 192 / 261.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.01388, allocations: 36.38 kB / 261.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01389, allocations: 23.94 kB / 261.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.01422, allocations: 273.8 kB / 261.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.01644, allocations: 2.056 MB / 263.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.01679, allocations: 377.1 kB / 264.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.01695, allocations: 171.4 kB / 264.4 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.01699, allocations: 20.64 kB / 264.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.01702, allocations: 39.22 kB / 264.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 1.763e-06/0.01702, allocations: 4 kB / 264.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002508/0.01953, allocations: 1.523 MB / 266 MB, free: 8.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.01955, allocations: 64 kB / 266.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.01982, allocations: 487 kB / 266.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.01985, allocations: 37.7 kB / 266.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.01999, allocations: 393.4 kB / 267 MB, free: 7.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.02011, allocations: 265.7 kB / 267.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.02024, allocations: 150.5 kB / 267.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.02034, allocations: 394.5 kB / 267.7 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.02046, allocations: 89.95 kB / 267.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.02063, allocations: 244.6 kB / 268.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.02099, allocations: 439.8 kB / 268.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.02099, allocations: 0 / 268.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005754/0.02157, allocations: 0.539 MB / 269 MB, free: 5.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.02158, allocations: 12.06 kB / 269.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.02159, allocations: 4 kB / 269.1 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.02186, allocations: 143.6 kB / 269.2 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.02236, allocations: 247.6 kB / 269.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.02379, allocations: 1.973 MB / 271.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.02401, allocations: 31.92 kB / 271.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.02404, allocations: 24 kB / 271.5 MB, free: 2.652 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.0001367/0.02417, allocations: 165.6 kB / 271.6 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.02425, allocations: 67.94 kB / 271.7 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.02433, allocations: 90.59 kB / 271.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.02433, allocations: 8 kB / 271.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.02434, allocations: 4 kB / 271.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.02434, allocations: 3.984 kB / 271.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.02472, allocations: 442.5 kB / 272.2 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02472, allocations: 0 / 272.2 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.02511, allocations: 187.2 kB / 272.4 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.02516, allocations: 59.53 kB / 272.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.0254, allocations: 147 kB / 272.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.02543, allocations: 19.98 kB / 272.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.02704, allocations: 1.981 MB / 274.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02704, allocations: 0 / 274.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.02774, allocations: 0.7014 MB / 275.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.02779, allocations: 16 kB / 275.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.02801, allocations: 47.97 kB / 275.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.02808, allocations: 56.55 kB / 275.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.0281, allocations: 15.98 kB / 275.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.02824, allocations: 216.4 kB / 275.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02824, allocations: 0 / 275.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003951/0.02863, allocations: 239.9 kB / 275.9 MB, free: 14.09 MB / 282.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.0001514/0.02879, allocations: 112.3 kB / 276 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.02948, allocations: 0.6494 MB / 276.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.98e-05/0.0295, allocations: 16.64 kB / 276.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.03001, allocations: 493.1 kB / 277.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.03079, allocations: 1.321 MB / 278.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.03584, allocations: 1.568 MB / 280 MB, free: 9.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.03595, allocations: 187.4 kB / 280.2 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.03616, allocations: 85.47 kB / 280.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.03648, allocations: 233.2 kB / 280.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03648, allocations: 3.938 kB / 280.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of Templates: time 0.1122/0.1487, allocations: 13.21 MB / 293.8 MB, free: 34.62 MB / 282.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8469681460410357]