Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001011, allocations: 91.45 kB / 16.65 MB, free: 6.594 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.001229/0.001229, allocations: 181.6 kB / 17.56 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 241.6 MB, free: 14.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003129, allocations: 16.12 kB / 301.4 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 50.41 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002975/0.1298, allocations: 2.28 MB / 354.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.131, allocations: 0.6507 MB / 354.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1311, allocations: 7.938 kB / 354.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.1312, allocations: 31.77 kB / 354.8 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.1315, allocations: 75.44 kB / 354.9 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1317, allocations: 67.94 kB / 355 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.132, allocations: 302.6 kB / 355.3 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.1323, allocations: 69.52 kB / 355.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1324, allocations: 103.6 kB / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1326, allocations: 115.4 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.1326, allocations: 12 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.162e-05/0.1326, allocations: 12 kB / 355.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1327, allocations: 43.83 kB / 355.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1328, allocations: 145 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1331, allocations: 267.2 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1331, allocations: 0 / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1331, allocations: 0 / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1331, allocations: 0 / 356 MB, free: 15.28 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008575/0.134, allocations: 0.5293 MB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.134, allocations: 15.97 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.1341, allocations: 28.66 kB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1344, allocations: 259.8 kB / 356.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1344, allocations: 16.94 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1345, allocations: 16.38 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.1349, allocations: 233.1 kB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1349, allocations: 0 / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.135, allocations: 12 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/0.135, allocations: 4 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.1354, allocations: 198.1 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.137, allocations: 0.9163 MB / 358.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/0.1376, allocations: 222.7 kB / 358.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.1379, allocations: 136.6 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.138, allocations: 0 / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.138, allocations: 34.56 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.138, allocations: 0 / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001896/0.1399, allocations: 0.5966 MB / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.14, allocations: 63.34 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.1402, allocations: 227 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1402, allocations: 29.7 kB / 359.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1404, allocations: 171.8 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.1404, allocations: 47.27 kB / 359.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1405, allocations: 25.7 kB / 359.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1406, allocations: 326.8 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.1408, allocations: 71.95 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.141, allocations: 110 kB / 360.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.1413, allocations: 189.8 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.1413, allocations: 0 / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008478/0.1422, allocations: 362 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.1423, allocations: 137.1 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1423, allocations: 0 / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.1427, allocations: 84.8 kB / 361 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1429, allocations: 43.92 kB / 361 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.1456, allocations: 1.873 MB / 362.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1458, allocations: 27.86 kB / 362.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1458, allocations: 8 kB / 363 MB, free: 7.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-06/0.1459, allocations: 4 kB / 363 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002993/0.1462, allocations: 176.8 kB / 363.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1462, allocations: 0 / 363.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.84e-05/0.1463, allocations: 28.78 kB / 363.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1464, allocations: 39.98 kB / 363.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/0.1473, allocations: 1.308 MB / 364.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1474, allocations: 15.84 kB / 364.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1474, allocations: 8 kB / 364.5 MB, free: 6.137 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.1476, allocations: 213 kB / 364.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1477, allocations: 19.81 kB / 364.8 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.1477, allocations: 21.52 kB / 364.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1477, allocations: 4.062 kB / 364.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1478, allocations: 0 / 364.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1478, allocations: 144 / 364.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.149, allocations: 0.6395 MB / 365.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.149, allocations: 4 kB / 365.4 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1491, allocations: 27.92 kB / 365.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.1494, allocations: 88.73 kB / 365.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1494, allocations: 4 kB / 365.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.1516, allocations: 1.764 MB / 367.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1516, allocations: 0 / 367.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.1525, allocations: 462.8 kB / 367.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.1526, allocations: 96.88 kB / 367.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1526, allocations: 4 kB / 367.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1528, allocations: 19.98 kB / 367.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1529, allocations: 11.98 kB / 367.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1529, allocations: 4 kB / 367.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1531, allocations: 168.7 kB / 368.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1531, allocations: 3.938 kB / 368.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005612/0.1536, allocations: 119.7 kB / 368.2 MB, free: 2.246 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (11): * Single equations (assignments): 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.1538, allocations: 103.1 kB / 368.3 MB, free: 2.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.1551, allocations: 0.5479 MB / 368.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.1551, allocations: 7.938 kB / 368.8 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.1554, allocations: 203.3 kB / 369 MB, free: 1.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.1559, allocations: 44.56 kB / 369.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.157, allocations: 0.6175 MB / 369.7 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2087/0.3657, allocations: 0.7383 MB / 370.4 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.366, allocations: 22.86 kB / 370.5 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.366, allocations: 17.03 kB / 370.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of SimCode: time 1.102e-06/0.366, allocations: 1.094 kB / 370.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of Templates: time 0.008507/0.3745, allocations: 2.868 MB / 373.3 MB, free: 23.41 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.out.i,opAmp.out.v,opAmp.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.v_out,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time