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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 95.7 kB / 16.93 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 184.7 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004657, allocations: 15.44 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005073/0.1094, allocations: 4.544 MB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.1123, allocations: 1.47 MB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.1127, allocations: 12 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1129, allocations: 115.1 kB / 334.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006076/0.1135, allocations: 323.1 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.1142, allocations: 235.6 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009611/0.1151, allocations: 0.7955 MB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.1156, allocations: 300.2 kB / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.116, allocations: 366.8 kB / 336.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.1164, allocations: 450.1 kB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.212e-05/0.1165, allocations: 52 kB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1167, allocations: 83.98 kB / 337 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1169, allocations: 171.3 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.1171, allocations: 209.2 kB / 337.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008501/0.1179, allocations: 1.052 MB / 338.4 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1179, allocations: 0 / 338.4 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1179, allocations: 4 kB / 338.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.118, allocations: 0 / 338.5 MB, free: 9.91 MB / 286.1 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.002183/0.1202, allocations: 1.146 MB / 339.6 MB, free: 8.715 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1202, allocations: 12.02 kB / 339.6 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.1204, allocations: 102.9 kB / 339.7 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.121, allocations: 0.4885 MB / 340.2 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.1211, allocations: 62 kB / 340.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.1212, allocations: 84 kB / 340.3 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1227, allocations: 0.8727 MB / 341.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1227, allocations: 0 / 341.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.1228, allocations: 32 kB / 341.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.1228, allocations: 20 kB / 341.3 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.1242, allocations: 0.8081 MB / 342.1 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.1287, allocations: 3.1 MB / 345.2 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.1298, allocations: 0.6578 MB / 345.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.1299, allocations: 8.562 kB / 345.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.1299, allocations: 51.06 kB / 345.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.504e-06/0.1299, allocations: 0 / 345.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.004421/0.1343, allocations: 2.252 MB / 348.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1344, allocations: 60.06 kB / 348.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.135, allocations: 0.4989 MB / 348.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.1351, allocations: 37.7 kB / 348.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.1353, allocations: 391.5 kB / 349.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.1355, allocations: 256.3 kB / 349.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1356, allocations: 16 kB / 349.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1358, allocations: 378.8 kB / 349.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.1363, allocations: 317.8 kB / 350.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.137, allocations: 433.1 kB / 350.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.1377, allocations: 370.9 kB / 350.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1377, allocations: 0 / 350.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001976/0.1396, allocations: 1.06 MB / 351.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1397, allocations: 4 kB / 351.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1397, allocations: 8 kB / 351.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.1403, allocations: 176.4 kB / 352.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.1411, allocations: 195.8 kB / 352.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.1446, allocations: 2.652 MB / 354.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.1453, allocations: 40.05 kB / 355 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.1453, allocations: 31.98 kB / 355 MB, free: 8.836 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004128/0.1457, allocations: 221.7 kB / 355.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.1459, allocations: 75.11 kB / 355.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.146, allocations: 86.17 kB / 355.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1461, allocations: 12 kB / 355.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.1461, allocations: 4 kB / 355.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.1461, allocations: 3.984 kB / 355.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000952/0.1471, allocations: 0.8377 MB / 356.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1471, allocations: 4 kB / 356.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.1478, allocations: 147.8 kB / 356.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.1483, allocations: 181.8 kB / 356.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.1483, allocations: 15.98 kB / 356.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.1517, allocations: 2.661 MB / 359.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1517, allocations: 4.25 kB / 359.2 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.1542, allocations: 1.416 MB / 360.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.1545, allocations: 136.3 kB / 360.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.1546, allocations: 24 kB / 360.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/0.1551, allocations: 59.95 kB / 360.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.1553, allocations: 52.58 kB / 360.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.1553, allocations: 23.98 kB / 360.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004323/0.1558, allocations: 347 kB / 361.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1558, allocations: 3.938 kB / 361.3 MB, free: 2.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008854/0.1567, allocations: 224 kB / 361.5 MB, free: 2.094 MB / 302.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.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003893/0.1571, allocations: 132.2 kB / 361.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.1594, allocations: 1.029 MB / 362.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.1594, allocations: 0 / 362.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.1607, allocations: 0.636 MB / 363.3 MB, free: 276 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.1613, allocations: 126.3 kB / 363.4 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.1647, allocations: 2.31 MB / 365.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.1652, allocations: 0.9694 MB / 366.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.1656, allocations: 85.06 kB / 366.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1657, allocations: 47.42 kB / 366.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1657, allocations: 0 / 366.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of Templates: time 0.01771/0.1834, allocations: 9.401 MB / 376.2 MB, free: 3.27 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches