Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001775/0.001775, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2324, allocations: 50.53 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00332/0.2358, allocations: 2.616 MB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2369, allocations: 0.6934 MB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.237, allocations: 4 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2372, allocations: 43.56 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.2374, allocations: 91.27 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.2376, allocations: 87.81 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.2379, allocations: 310.6 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2381, allocations: 92.94 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.2382, allocations: 107.6 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2384, allocations: 131.4 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.2385, allocations: 24 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.339e-05/0.2385, allocations: 24 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.2386, allocations: 55.83 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2387, allocations: 135.3 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.239, allocations: 288.1 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.239, allocations: 0 / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.239, allocations: 0 / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.239, allocations: 4 kB / 414.6 MB, free: 12.87 MB / 334.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.0008914/0.2399, allocations: 0.5537 MB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2399, allocations: 12.03 kB / 415.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.24, allocations: 32.66 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2403, allocations: 263.8 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2404, allocations: 20.88 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.2404, allocations: 28.31 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.2408, allocations: 221.2 kB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2409, allocations: 0 / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.2409, allocations: 12 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2409, allocations: 8 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.2413, allocations: 190.1 kB / 416 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.2427, allocations: 0.889 MB / 416.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.2434, allocations: 214.7 kB / 417.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.2437, allocations: 128.7 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.2437, allocations: 4 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2438, allocations: 38.44 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.2438, allocations: 0 / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00181/0.2456, allocations: 0.5692 MB / 417.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.2456, allocations: 51.41 kB / 417.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.2458, allocations: 231 kB / 418.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2459, allocations: 29.7 kB / 418.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.246, allocations: 163.9 kB / 418.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.246, allocations: 55.19 kB / 418.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.2461, allocations: 49.7 kB / 418.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2462, allocations: 326.8 kB / 418.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.2464, allocations: 68.81 kB / 418.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.2466, allocations: 117.9 kB / 418.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.2469, allocations: 184.1 kB / 419.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2469, allocations: 0 / 419.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008423/0.2478, allocations: 340.8 kB / 419.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2478, allocations: 10.84 kB / 419.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2478, allocations: 4 kB / 419.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.2482, allocations: 76.8 kB / 419.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2484, allocations: 35.98 kB / 419.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.2511, allocations: 2.021 MB / 421.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2513, allocations: 23.88 kB / 421.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2513, allocations: 8 kB / 421.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000147/0.2515, allocations: 148 kB / 421.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.882e-05/0.2516, allocations: 90 kB / 421.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000177/0.2518, allocations: 149.9 kB / 421.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.2518, allocations: 4 kB / 421.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000321/0.2521, allocations: 224.7 kB / 422.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.2522, allocations: 4 kB / 422.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2522, allocations: 4 kB / 422.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.373e-05/0.2522, allocations: 24.84 kB / 422.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2524, allocations: 47.92 kB / 422.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008716/0.2533, allocations: 1.415 MB / 423.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2534, allocations: 15.84 kB / 423.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2534, allocations: 12.06 kB / 423.7 MB, free: 3.172 MB / 334.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.0001079/0.2535, allocations: 192.1 kB / 423.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2536, allocations: 19.81 kB / 423.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.2536, allocations: 29.45 kB / 423.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2537, allocations: 3.938 kB / 423.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2537, allocations: 4 kB / 423.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2537, allocations: 0 / 423.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.2548, allocations: 0.6241 MB / 424.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2548, allocations: 0 / 424.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2549, allocations: 27.98 kB / 424.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.2552, allocations: 80.73 kB / 424.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2552, allocations: 4 kB / 424.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.2575, allocations: 1.915 MB / 426.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2575, allocations: 0 / 426.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.2584, allocations: 439.6 kB / 427 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2585, allocations: 100.9 kB / 427.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.2585, allocations: 7.938 kB / 427.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2587, allocations: 19.98 kB / 427.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.2588, allocations: 12.02 kB / 427.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2588, allocations: 4 kB / 427.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.2589, allocations: 168.7 kB / 427.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.259, allocations: 0 / 427.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005509/0.2595, allocations: 119.7 kB / 427.4 MB, free: 15.18 MB / 350.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.0001278/0.2596, allocations: 99.25 kB / 427.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.2608, allocations: 0.5404 MB / 428.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.2608, allocations: 0 / 428.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.2611, allocations: 198.6 kB / 428.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.2615, allocations: 44.03 kB / 428.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.2624, allocations: 0.5217 MB / 428.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2627, allocations: 0.748 MB / 429.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.2628, allocations: 19.44 kB / 429.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2628, allocations: 0 / 429.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.00522/0.268, allocations: 3.524 MB / 433.1 MB, free: 9.395 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches