Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 73.88 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 151.2 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.67 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08313, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007944/0.09107, allocations: 6.474 MB / 378 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.1034, allocations: 9.289 MB / 387.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006395/0.1041, allocations: 122.6 kB / 387.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.1055, allocations: 0.6463 MB / 388.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.108, allocations: 1.198 MB / 389.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1094, allocations: 0.6761 MB / 390 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003574/0.1129, allocations: 2.551 MB / 392.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.1133, allocations: 172.4 kB / 392.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.1139, allocations: 0.5093 MB / 393.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006496/0.1145, allocations: 0.4966 MB / 393.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.1146, allocations: 56 kB / 393.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.116, allocations: 0.6908 MB / 394.4 MB, free: 344 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1162, allocations: 182.8 kB / 394.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.1167, allocations: 0.5047 MB / 395.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.119, allocations: 1.983 MB / 397.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.119, allocations: 0 / 397.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.119, allocations: 0 / 397.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.119, allocations: 7.938 kB / 397.1 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002953/0.1219, allocations: 1.971 MB / 399.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.122, allocations: 8.922 kB / 399.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.1222, allocations: 203.7 kB / 399.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.1243, allocations: 1.236 MB / 400.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.1244, allocations: 44.94 kB / 400.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.1244, allocations: 40 kB / 400.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009869/0.1254, allocations: 0.5119 MB / 401.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1254, allocations: 0 / 401.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.1255, allocations: 19.98 kB / 401.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1255, allocations: 16 kB / 401.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.1265, allocations: 480 kB / 401.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.1296, allocations: 1.864 MB / 403.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/0.1305, allocations: 0.5069 MB / 404 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007641/0.1313, allocations: 473.5 kB / 404.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006311/0.1376, allocations: 2.541 MB / 407 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005823/0.1382, allocations: 286.1 kB / 407.3 MB, free: 3.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.415e-06/0.1382, allocations: 0 / 407.3 MB, free: 3.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003666/0.1419, allocations: 1.901 MB / 409.2 MB, free: 1.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.1419, allocations: 71.83 kB / 409.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.1435, allocations: 1.3 MB / 410.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.1435, allocations: 45.62 kB / 410.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/0.1442, allocations: 0.7157 MB / 411.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.1443, allocations: 210.2 kB / 411.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1445, allocations: 118.3 kB / 411.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1447, allocations: 334 kB / 412 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.1451, allocations: 197.5 kB / 412.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/0.1457, allocations: 363.9 kB / 412.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1467, allocations: 0.5999 MB / 413.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1467, allocations: 4 kB / 413.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001635/0.1484, allocations: 0.9174 MB / 414 MB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1484, allocations: 11.94 kB / 414 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-05/0.1485, allocations: 60 kB / 414.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.1489, allocations: 159.9 kB / 414.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.1494, allocations: 111.8 kB / 414.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.1523, allocations: 2.366 MB / 416.7 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.1527, allocations: 24.03 kB / 416.8 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.1528, allocations: 32 kB / 416.8 MB, free: 9.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003821/0.1531, allocations: 273.7 kB / 417 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.1533, allocations: 194.8 kB / 417.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.1552, allocations: 0.8819 MB / 418.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1552, allocations: 4 kB / 418.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1552, allocations: 4 kB / 418.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1552, allocations: 3.984 kB / 418.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.1561, allocations: 0.7177 MB / 418.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-05/0.1562, allocations: 48 kB / 418.9 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.1565, allocations: 75.88 kB / 419 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003631/0.1569, allocations: 136.7 kB / 419.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.1569, allocations: 27.92 kB / 419.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00283/0.1598, allocations: 2.343 MB / 421.5 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1598, allocations: 0 / 421.5 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.1617, allocations: 1.061 MB / 422.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.162, allocations: 178.8 kB / 422.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1622, allocations: 11.94 kB / 422.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.1625, allocations: 23.98 kB / 422.7 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1626, allocations: 48.41 kB / 422.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.1627, allocations: 20 kB / 422.8 MB, free: 3.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.1638, allocations: 0.8617 MB / 423.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1638, allocations: 0 / 423.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008707/0.1646, allocations: 379.2 kB / 424 MB, free: 2.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006984/0.1653, allocations: 463.7 kB / 424.5 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.1669, allocations: 0.8098 MB / 425.3 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1669, allocations: 0 / 425.3 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000999/0.1679, allocations: 0.5592 MB / 425.9 MB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.1687, allocations: 202.3 kB / 426.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.1722, allocations: 2.423 MB / 428.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.1728, allocations: 0.5876 MB / 429.1 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.1732, allocations: 191.1 kB / 429.3 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1733, allocations: 84.5 kB / 429.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1733, allocations: 0 / 429.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of Templates: time 0.02739/0.2007, allocations: 13.73 MB / 443.1 MB, free: 14.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.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.823101019021124]