Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 180.3 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.5 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007628/0.0007628, allocations: 90.34 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002935, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2553, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002348/0.2577, allocations: 2.18 MB / 376.7 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009445/0.2587, allocations: 0.6696 MB / 377.4 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.2588, allocations: 7.344 kB / 377.4 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.2589, allocations: 33.33 kB / 377.5 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.2591, allocations: 68.61 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.2592, allocations: 69.03 kB / 377.6 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2595, allocations: 279.3 kB / 377.9 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.2597, allocations: 79 kB / 377.9 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2598, allocations: 96.73 kB / 378 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2599, allocations: 106.6 kB / 378.1 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.26, allocations: 13.56 kB / 378.1 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.113e-05/0.26, allocations: 12.94 kB / 378.2 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.2601, allocations: 46.17 kB / 378.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.2601, allocations: 65.39 kB / 378.3 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2603, allocations: 206 kB / 378.5 MB, free: 42.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2603, allocations: 1.188 kB / 378.5 MB, free: 42.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2603, allocations: 0 / 378.5 MB, free: 42.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2603, allocations: 3.938 kB / 378.5 MB, free: 42.44 MB / 298.7 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.0008055/0.2611, allocations: 0.529 MB / 379 MB, free: 41.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2612, allocations: 13.5 kB / 379 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.2613, allocations: 29.88 kB / 379 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2615, allocations: 244 kB / 379.3 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2616, allocations: 13.59 kB / 379.3 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.2616, allocations: 26.28 kB / 379.3 MB, free: 41.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.2621, allocations: 226 kB / 379.5 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2621, allocations: 0 / 379.5 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.2621, allocations: 10.41 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2621, allocations: 5.438 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.2626, allocations: 189.3 kB / 379.7 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2639, allocations: 0.9306 MB / 380.7 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.2645, allocations: 221.1 kB / 380.9 MB, free: 40.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.2648, allocations: 121.5 kB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.2648, allocations: 9.391 kB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.2649, allocations: 33.31 kB / 381.1 MB, free: 40.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.2649, allocations: 0 / 381.1 MB, free: 40.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001813/0.2667, allocations: 0.592 MB / 381.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.2667, allocations: 65.39 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2669, allocations: 228.7 kB / 381.9 MB, free: 39.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2669, allocations: 30.7 kB / 382 MB, free: 39.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.267, allocations: 163.7 kB / 382.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.2671, allocations: 46.17 kB / 382.2 MB, free: 39.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.2671, allocations: 5.156 kB / 382.2 MB, free: 39.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.2671, allocations: 335 kB / 382.5 MB, free: 39.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.2673, allocations: 64.81 kB / 382.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.2675, allocations: 120.3 kB / 382.7 MB, free: 39.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2677, allocations: 76.7 kB / 382.8 MB, free: 39.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2677, allocations: 1.094 kB / 382.8 MB, free: 39.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008334/0.2685, allocations: 361.3 kB / 383.1 MB, free: 39.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.2686, allocations: 133.4 kB / 383.2 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2686, allocations: 1.625 kB / 383.2 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.269, allocations: 86.86 kB / 383.3 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2692, allocations: 39.39 kB / 383.4 MB, free: 38.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.2717, allocations: 1.875 MB / 385.2 MB, free: 37.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2719, allocations: 35.73 kB / 385.3 MB, free: 37.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.272, allocations: 6.719 kB / 385.3 MB, free: 37.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.272, allocations: 8.875 kB / 385.3 MB, free: 37.15 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002716/0.2722, allocations: 165 kB / 385.4 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.2723, allocations: 2.594 kB / 385.5 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.763e-05/0.2723, allocations: 27.62 kB / 385.5 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2725, allocations: 41.77 kB / 385.5 MB, free: 37.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000626/0.2731, allocations: 1.298 MB / 386.8 MB, free: 35.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2732, allocations: 16.66 kB / 386.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2733, allocations: 10.78 kB / 386.8 MB, free: 35.68 MB / 298.7 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 (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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.2734, allocations: 222.1 kB / 387.1 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.2734, allocations: 26.33 kB / 387.1 MB, free: 35.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.2735, allocations: 22.22 kB / 387.1 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2735, allocations: 5.297 kB / 387.1 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2735, allocations: 1.344 kB / 387.1 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2735, allocations: 3.984 kB / 387.1 MB, free: 35.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.2746, allocations: 0.6306 MB / 387.7 MB, free: 34.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2746, allocations: 3.953 kB / 387.8 MB, free: 34.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2747, allocations: 26.2 kB / 387.8 MB, free: 34.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.275, allocations: 79.39 kB / 387.9 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.275, allocations: 5.688 kB / 387.9 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.2768, allocations: 1.76 MB / 389.6 MB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2768, allocations: 0 / 389.6 MB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.2776, allocations: 454.2 kB / 390.1 MB, free: 32.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.2776, allocations: 104.8 kB / 390.2 MB, free: 32.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2776, allocations: 4 kB / 390.2 MB, free: 32.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.2778, allocations: 32 kB / 390.2 MB, free: 32.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.2779, allocations: 7.984 kB / 390.2 MB, free: 32.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.2779, allocations: 4 kB / 390.2 MB, free: 32.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.278, allocations: 160.6 kB / 390.4 MB, free: 32.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.278, allocations: 0 / 390.4 MB, free: 32.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004991/0.2785, allocations: 119.7 kB / 390.5 MB, free: 32.09 MB / 298.7 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 (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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.2786, allocations: 103.2 kB / 390.6 MB, free: 31.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009472/0.2796, allocations: 0.5386 MB / 391.1 MB, free: 31.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2796, allocations: 4 kB / 391.1 MB, free: 31.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.2798, allocations: 210.4 kB / 391.3 MB, free: 31.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2802, allocations: 48.88 kB / 391.4 MB, free: 31.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.2811, allocations: 0.6187 MB / 392 MB, free: 30.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2812, allocations: 0.752 MB / 392.8 MB, free: 29.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.2813, allocations: 15.44 kB / 392.8 MB, free: 29.7 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2813, allocations: 0 / 392.8 MB, free: 29.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003944/0.2852, allocations: 3.476 MB / 396.2 MB, free: 26.22 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches