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.001308/0.001308, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.12 kB / 307.6 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08978, allocations: 50.52 MB / 358.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003892/0.09371, allocations: 2.609 MB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.09507, allocations: 0.7012 MB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.09531, allocations: 4 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.09552, allocations: 43.58 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.09582, allocations: 83.25 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.09604, allocations: 95.75 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.09641, allocations: 302.7 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.09662, allocations: 96.92 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.09679, allocations: 111.6 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.09696, allocations: 127.4 kB / 362.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.09701, allocations: 24 kB / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.09707, allocations: 28 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.09714, allocations: 63.75 kB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.09726, allocations: 131.3 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.09755, allocations: 279.2 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.09756, allocations: 0 / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09757, allocations: 0 / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.09759, allocations: 0 / 362.8 MB, free: 9.414 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.0009222/0.09851, allocations: 0.5576 MB / 363.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.09856, allocations: 12.03 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.361e-05/0.09864, allocations: 28.56 kB / 363.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.09893, allocations: 255.8 kB / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.09896, allocations: 24.88 kB / 363.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.099, allocations: 16.38 kB / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.09944, allocations: 229.2 kB / 363.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.09946, allocations: 0 / 363.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.09949, allocations: 12 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.09951, allocations: 4 kB / 364 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.09994, allocations: 194.1 kB / 364.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.1014, allocations: 0.8967 MB / 365 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.1021, allocations: 218.6 kB / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.1024, allocations: 124.7 kB / 365.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1024, allocations: 8 kB / 365.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1024, allocations: 34.5 kB / 365.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/0.1025, allocations: 3.984 kB / 365.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00185/0.1043, allocations: 0.5537 MB / 366 MB, free: 6.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1044, allocations: 51.41 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1046, allocations: 239 kB / 366.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1046, allocations: 25.7 kB / 366.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.1047, allocations: 171.8 kB / 366.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.1048, allocations: 51.25 kB / 366.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.1048, allocations: 41.7 kB / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1049, allocations: 330.8 kB / 366.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.1051, allocations: 72.83 kB / 366.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.1053, allocations: 111.1 kB / 367 MB, free: 4.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.1057, allocations: 184.2 kB / 367.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1057, allocations: 0 / 367.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008709/0.1066, allocations: 346 kB / 367.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1066, allocations: 10.97 kB / 367.6 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1066, allocations: 0 / 367.6 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.107, allocations: 76.83 kB / 367.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1072, allocations: 39.98 kB / 367.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.1101, allocations: 2.013 MB / 369.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1103, allocations: 27.78 kB / 369.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1103, allocations: 12.06 kB / 369.7 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001516/0.1105, allocations: 152.6 kB / 369.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000106/0.1106, allocations: 102.3 kB / 370 MB, free: 1.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001731/0.1108, allocations: 156.2 kB / 370.1 MB, free: 1.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.1108, allocations: 0 / 370.1 MB, free: 1.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003384/0.1111, allocations: 214.2 kB / 370.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1111, allocations: 8.031 kB / 370.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1111, allocations: 7.938 kB / 370.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.351e-05/0.1112, allocations: 24.84 kB / 370.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1114, allocations: 43.92 kB / 370.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1495/0.2609, allocations: 1.407 MB / 371.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.2612, allocations: 15.27 kB / 371.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2612, allocations: 10.16 kB / 371.9 MB, free: 19.04 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.0001025/0.2613, allocations: 196.1 kB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.2613, allocations: 20.77 kB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.2614, allocations: 27.27 kB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2614, allocations: 1.312 kB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2614, allocations: 3.203 kB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2614, allocations: 1.281 kB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2626, allocations: 0.6259 MB / 372.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2626, allocations: 2.312 kB / 372.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.2627, allocations: 26.22 kB / 372.8 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.263, allocations: 76.66 kB / 372.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.263, allocations: 4.547 kB / 372.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.2651, allocations: 1.919 MB / 374.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2651, allocations: 0 / 374.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.266, allocations: 437.5 kB / 375.2 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.2661, allocations: 99.86 kB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2661, allocations: 5.797 kB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2663, allocations: 20.05 kB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.2663, allocations: 18.66 kB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2663, allocations: 4.094 kB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.2665, allocations: 165.5 kB / 375.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2665, allocations: 0 / 375.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.2671, allocations: 111.2 kB / 375.6 MB, free: 16.76 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 9.593e-05/0.2672, allocations: 105.6 kB / 375.7 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.2683, allocations: 0.5441 MB / 376.3 MB, free: 16.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2683, allocations: 4.391 kB / 376.3 MB, free: 16.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.2686, allocations: 200.4 kB / 376.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.2691, allocations: 40.84 kB / 376.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.27, allocations: 0.5318 MB / 377 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.2702, allocations: 0.7427 MB / 377.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.2702, allocations: 19.14 kB / 377.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2702, allocations: 0 / 377.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Templates: time 0.00559/0.2758, allocations: 3.51 MB / 381.3 MB, free: 15.15 MB / 302.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