Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 168.9 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9202/0.9202, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.491e-05, allocations: 2.312 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004525/0.00454, allocations: 5.538 MB / 257.1 MB, free: 1.629 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.007204, allocations: 1.48 MB / 258.6 MB, free: 144 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004967/0.007701, allocations: 19.94 kB / 258.6 MB, free: 124 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.00797, allocations: 162.5 kB / 258.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.00837, allocations: 293.1 kB / 259.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.008871, allocations: 359.3 kB / 259.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007685/0.00964, allocations: 1.284 MB / 260.7 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.01001, allocations: 285.4 kB / 261 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006635/0.01067, allocations: 0.7018 MB / 261.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.01106, allocations: 414.9 kB / 262.1 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.01117, allocations: 124 kB / 262.2 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.01136, allocations: 167.9 kB / 262.4 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01149, allocations: 255.1 kB / 262.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.01172, allocations: 391.2 kB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009275/0.01265, allocations: 0.876 MB / 263.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.01265, allocations: 4 kB / 263.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01265, allocations: 0 / 263.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.01266, allocations: 0 / 263.9 MB, free: 10.81 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001232/0.01389, allocations: 1.208 MB / 265.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01393, allocations: 12.03 kB / 265.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.01407, allocations: 136.8 kB / 265.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.01444, allocations: 343.2 kB / 265.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.01447, allocations: 66.38 kB / 265.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.01455, allocations: 92.33 kB / 265.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.01521, allocations: 0.8167 MB / 266.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01523, allocations: 192 / 266.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.01527, allocations: 32.38 kB / 266.6 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.01528, allocations: 23.94 kB / 266.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.01562, allocations: 265.8 kB / 266.9 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.01805, allocations: 2.009 MB / 268.9 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.01843, allocations: 351 kB / 269.2 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.01859, allocations: 166.7 kB / 269.4 MB, free: 5.109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.01863, allocations: 12.66 kB / 269.4 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.01866, allocations: 43.22 kB / 269.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.833e-06/0.01866, allocations: 0 / 269.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.001724/0.02038, allocations: 1.116 MB / 270.6 MB, free: 3.906 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.02041, allocations: 60.06 kB / 270.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.02065, allocations: 431.1 kB / 271 MB, free: 3.402 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.02068, allocations: 41.7 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.02081, allocations: 349.6 kB / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.02094, allocations: 261.7 kB / 271.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.02108, allocations: 134.6 kB / 271.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.02118, allocations: 386.6 kB / 272.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.0213, allocations: 85.95 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.02148, allocations: 205.2 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.02181, allocations: 376.5 kB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02182, allocations: 8 kB / 272.8 MB, free: 1.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005946/0.02241, allocations: 0.5037 MB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.02243, allocations: 8 kB / 273.3 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.02243, allocations: 0 / 273.3 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.02273, allocations: 140.6 kB / 273.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.02319, allocations: 203.7 kB / 273.7 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.02477, allocations: 1.946 MB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.02497, allocations: 31.98 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.025, allocations: 20 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 83 * 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,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.02514, allocations: 157.7 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.02521, allocations: 63.94 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.02529, allocations: 85.88 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02529, allocations: 8 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.0253, allocations: 3.938 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.0253, allocations: 3.984 kB / 276 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.02569, allocations: 422.6 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02569, allocations: 0 / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.02608, allocations: 171.7 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.02635, allocations: 147.7 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.02638, allocations: 19.98 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.0281, allocations: 1.934 MB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02811, allocations: 0 / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.02882, allocations: 0.6744 MB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.02886, allocations: 55.53 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.02891, allocations: 19.94 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.02913, allocations: 47.97 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.02921, allocations: 52.67 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.02923, allocations: 19.98 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.02936, allocations: 188.4 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02936, allocations: 0 / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000395/0.02976, allocations: 224 kB / 279.9 MB, free: 10.15 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.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * 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,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000176/0.02993, allocations: 120.2 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000796/0.03073, allocations: 0.6088 MB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.03074, allocations: 4 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.03122, allocations: 463.8 kB / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.03156, allocations: 126.2 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.03314, allocations: 1.42 MB / 282.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.03324, allocations: 163.2 kB / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.03343, allocations: 80.88 kB / 282.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.03372, allocations: 201.2 kB / 283.1 MB, free: 6.895 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03372, allocations: 0 / 283.1 MB, free: 6.895 MB / 266.7 MB Notification: Performance of Templates: time 0.01293/0.04665, allocations: 11.1 MB / 294.2 MB, free: 11.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.846910974010825]