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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008655/0.0008655, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005338/0.005338, allocations: 157.4 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8731/0.8731, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.012e-05, allocations: 7.766 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002292/0.002312, allocations: 2.475 MB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.003076, allocations: 0.6388 MB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.003185, allocations: 4 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.003299, allocations: 43.56 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.003498, allocations: 99.12 kB / 329.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.954e-05/0.003598, allocations: 75.83 kB / 329.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.00383, allocations: 330.3 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.003988, allocations: 65.47 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.004113, allocations: 179.5 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.004226, allocations: 91.7 kB / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.004266, allocations: 24 kB / 329.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.471e-05/0.00429, allocations: 28 kB / 329.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.004328, allocations: 59.75 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.00439, allocations: 95.75 kB / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.004625, allocations: 299 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004627, allocations: 4 kB / 330.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004628, allocations: 0 / 330.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004632, allocations: 0 / 330.3 MB, free: 10.87 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0005763/0.005209, allocations: 489.5 kB / 330.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.005244, allocations: 15.98 kB / 330.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.005295, allocations: 24.8 kB / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.005524, allocations: 209.3 kB / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.005541, allocations: 20.88 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.005571, allocations: 24.38 kB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.005838, allocations: 315.5 kB / 331.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005847, allocations: 8.125 kB / 331.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.005866, allocations: 8.375 kB / 331.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.005874, allocations: 11.94 kB / 331.4 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.006059, allocations: 165.9 kB / 331.6 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.006939, allocations: 0.7813 MB / 332.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.00725, allocations: 182.6 kB / 332.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.007412, allocations: 104.8 kB / 332.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.007431, allocations: 4 kB / 332.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.007723, allocations: 42.5 kB / 332.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.007725, allocations: 0 / 332.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004026/0.008127, allocations: 249.8 kB / 332.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.008152, allocations: 51.41 kB / 333 MB, free: 8.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.008288, allocations: 219.7 kB / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008304, allocations: 33.7 kB / 333.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.008373, allocations: 172.2 kB / 333.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.008406, allocations: 67.42 kB / 333.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.008451, allocations: 41.72 kB / 333.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.008526, allocations: 334.8 kB / 333.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.00859, allocations: 59.97 kB / 333.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.008675, allocations: 106 kB / 334 MB, free: 6.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.008826, allocations: 170.6 kB / 334.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.008829, allocations: 7.938 kB / 334.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002446/0.009074, allocations: 246.1 kB / 334.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.009088, allocations: 7.438 kB / 334.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009093, allocations: 4 kB / 334.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.00921, allocations: 28.78 kB / 334.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.009324, allocations: 55.91 kB / 334.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006485/0.009972, allocations: 1.284 MB / 335.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.01004, allocations: 31.8 kB / 335.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.01005, allocations: 8 kB / 335.8 MB, free: 4.988 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: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.01014, allocations: 137.8 kB / 336 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.01016, allocations: 19.86 kB / 336 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.01019, allocations: 21.81 kB / 336 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01019, allocations: 7.938 kB / 336 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01019, allocations: 3.984 kB / 336 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.0102, allocations: 4.062 kB / 336 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.01063, allocations: 499.7 kB / 336.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01063, allocations: 0 / 336.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.01072, allocations: 31.98 kB / 336.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-05/0.01077, allocations: 24.84 kB / 336.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01078, allocations: 8 kB / 336.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005348/0.01132, allocations: 1.28 MB / 337.8 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01132, allocations: 3.938 kB / 337.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.01157, allocations: 345.5 kB / 338.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.01159, allocations: 19.81 kB / 338.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.0116, allocations: 8 kB / 338.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.01169, allocations: 15.98 kB / 338.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.01173, allocations: 16.09 kB / 338.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01173, allocations: 12 kB / 338.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.946e-05/0.01181, allocations: 149.5 kB / 338.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01181, allocations: 4 kB / 338.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.01202, allocations: 67.89 kB / 338.5 MB, free: 2.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp.v_int,c.v) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.309e-05/0.01211, allocations: 107.1 kB / 338.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.0124, allocations: 258.8 kB / 338.8 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01241, allocations: 4.062 kB / 338.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.01253, allocations: 182.6 kB / 339 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.01278, allocations: 43.91 kB / 339.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.01363, allocations: 0.5943 MB / 339.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.014, allocations: 142.4 kB / 339.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.01404, allocations: 20.5 kB / 339.8 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01405, allocations: 0 / 339.8 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of Templates: time 0.003479/0.01752, allocations: 3.721 MB / 343.5 MB, free: 13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.640073606744409]