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.001582/0.001582, allocations: 114.9 kB / 17.75 MB, free: 5.312 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.001793/0.001793, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 43.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2277, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00379/0.2316, allocations: 2.609 MB / 404.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2329, allocations: 0.6661 MB / 404.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.2332, allocations: 4 kB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.2333, allocations: 39.58 kB / 404.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.2337, allocations: 79.33 kB / 404.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2339, allocations: 87.81 kB / 404.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.2343, allocations: 306.7 kB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2345, allocations: 92.94 kB / 405.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.2347, allocations: 119.5 kB / 405.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2349, allocations: 131.4 kB / 405.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.235, allocations: 24 kB / 405.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.235, allocations: 24 kB / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.2351, allocations: 55.78 kB / 405.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2352, allocations: 127.4 kB / 405.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.2355, allocations: 288.1 kB / 406.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2355, allocations: 3.938 kB / 406.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2355, allocations: 0 / 406.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.2355, allocations: 0 / 406.1 MB, free: 4.219 MB / 318.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.0009112/0.2364, allocations: 0.5653 MB / 406.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2365, allocations: 8.031 kB / 406.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.2366, allocations: 28.66 kB / 406.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.2369, allocations: 263.8 kB / 406.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2369, allocations: 24.91 kB / 407 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.237, allocations: 16.38 kB / 407 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.2374, allocations: 225.2 kB / 407.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2375, allocations: 0 / 407.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2375, allocations: 12 kB / 407.2 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2375, allocations: 8 kB / 407.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.2379, allocations: 194.1 kB / 407.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.2393, allocations: 0.8967 MB / 408.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.24, allocations: 218.7 kB / 408.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.2403, allocations: 128.7 kB / 408.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2403, allocations: 0 / 408.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.2404, allocations: 38.56 kB / 408.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 9.01e-07/0.2404, allocations: 0 / 408.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001825/0.2422, allocations: 0.5609 MB / 409.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.2423, allocations: 59.39 kB / 409.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2425, allocations: 227 kB / 409.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2425, allocations: 25.7 kB / 409.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.2426, allocations: 167.9 kB / 409.7 MB, free: 348 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.2427, allocations: 55.2 kB / 409.8 MB, free: 292 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.2427, allocations: 41.7 kB / 409.8 MB, free: 244 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2429, allocations: 330.8 kB / 410.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.243, allocations: 64.83 kB / 410.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2432, allocations: 121.8 kB / 410.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.2436, allocations: 181.9 kB / 410.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2436, allocations: 0 / 410.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008436/0.2444, allocations: 344.8 kB / 410.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2445, allocations: 4 kB / 410.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2445, allocations: 4 kB / 410.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003428/0.2448, allocations: 80.83 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.245, allocations: 39.92 kB / 410.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.2478, allocations: 2.013 MB / 413 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.248, allocations: 36.02 kB / 413 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.248, allocations: 8 kB / 413 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001371/0.2482, allocations: 140.1 kB / 413.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001055/0.2483, allocations: 102.2 kB / 413.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001761/0.2485, allocations: 145.9 kB / 413.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.2485, allocations: 0 / 413.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003359/0.2488, allocations: 228.2 kB / 413.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.2488, allocations: 4 kB / 413.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.2488, allocations: 0 / 413.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.923e-05/0.2489, allocations: 32.83 kB / 413.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2491, allocations: 43.86 kB / 413.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008908/0.25, allocations: 1.414 MB / 415.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.2501, allocations: 19.88 kB / 415.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2501, allocations: 4 kB / 415.1 MB, free: 10.51 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.0001182/0.2503, allocations: 194 kB / 415.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.2503, allocations: 19.81 kB / 415.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.2504, allocations: 25.52 kB / 415.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2504, allocations: 3.938 kB / 415.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2504, allocations: 0 / 415.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2504, allocations: 3.938 kB / 415.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.2515, allocations: 0.6243 MB / 416 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2515, allocations: 4 kB / 416 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.2516, allocations: 23.98 kB / 416 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.2519, allocations: 72.78 kB / 416.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2519, allocations: 4 kB / 416.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.2542, allocations: 1.919 MB / 418 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2542, allocations: 0 / 418 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.2551, allocations: 440.3 kB / 418.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.2552, allocations: 100.9 kB / 418.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.2552, allocations: 11.94 kB / 418.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2554, allocations: 15.98 kB / 418.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.2555, allocations: 11.98 kB / 418.6 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2555, allocations: 4 kB / 418.6 MB, free: 6.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.2556, allocations: 172.5 kB / 418.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2556, allocations: 0 / 418.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005398/0.2562, allocations: 119.7 kB / 418.9 MB, free: 6.52 MB / 334.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.0001242/0.2563, allocations: 104 kB / 419 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2574, allocations: 0.5444 MB / 419.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2575, allocations: 4.25 kB / 419.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.2577, allocations: 194.7 kB / 419.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2581, allocations: 48.36 kB / 419.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.2591, allocations: 0.518 MB / 420.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2594, allocations: 0.7401 MB / 421 MB, free: 4.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.2595, allocations: 23.44 kB / 421 MB, free: 4.242 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2595, allocations: 3.938 kB / 421 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Templates: time 0.005342/0.2648, allocations: 3.512 MB / 424.5 MB, free: 0.7266 MB / 334.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/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches