Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 79.84 kB / 21.43 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.103e-05, allocations: 2.281 kB / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008237/0.008268, allocations: 6.344 MB / 305.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.0211, allocations: 9.018 MB / 314.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.02228, allocations: 118.6 kB / 314.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.02411, allocations: 0.6344 MB / 315 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.02854, allocations: 1.229 MB / 316.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.03052, allocations: 0.6718 MB / 316.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00417/0.03469, allocations: 2.574 MB / 319.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.03506, allocations: 172.4 kB / 319.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009267/0.03599, allocations: 0.6818 MB / 320.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.03652, allocations: 370.7 kB / 320.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.03662, allocations: 52 kB / 320.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.03806, allocations: 0.6673 MB / 321.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.03824, allocations: 182.8 kB / 321.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.0387, allocations: 386.8 kB / 322 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1552/0.1939, allocations: 1.981 MB / 324 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1939, allocations: 1.281 kB / 324 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1939, allocations: 0.5938 kB / 324 MB, free: 19.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.555e-05/0.194, allocations: 0.5625 kB / 324 MB, free: 19.75 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002727/0.1967, allocations: 1.949 MB / 325.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1967, allocations: 13.8 kB / 326 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.197, allocations: 204.2 kB / 326.2 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.199, allocations: 1.24 MB / 327.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.1991, allocations: 34.36 kB / 327.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/0.1992, allocations: 44.58 kB / 327.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2003, allocations: 0.518 MB / 328 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2003, allocations: 1.219 kB / 328 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.2004, allocations: 15.78 kB / 328 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.2004, allocations: 18.39 kB / 328 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009629/0.2014, allocations: 477.5 kB / 328.5 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.2042, allocations: 1.861 MB / 330.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008936/0.2051, allocations: 0.5012 MB / 330.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.2058, allocations: 467.4 kB / 331.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006219/0.212, allocations: 2.53 MB / 333.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000551/0.2126, allocations: 298.6 kB / 334.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 2.624e-06/0.2126, allocations: 0 / 334.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003585/0.2162, allocations: 1.896 MB / 336 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2162, allocations: 61.86 kB / 336.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.2178, allocations: 1.309 MB / 337.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.2178, allocations: 32.45 kB / 337.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.2183, allocations: 0.713 MB / 338.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.2184, allocations: 214.5 kB / 338.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.2186, allocations: 117.3 kB / 338.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.2186, allocations: 339.9 kB / 338.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.2191, allocations: 193.7 kB / 339 MB, free: 13.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/0.2196, allocations: 367.3 kB / 339.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.2219, allocations: 1.133 MB / 340.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2219, allocations: 1.344 kB / 340.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001585/0.2234, allocations: 0.9207 MB / 341.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2235, allocations: 7.406 kB / 341.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.461e-05/0.2235, allocations: 56.16 kB / 341.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004269/0.224, allocations: 159 kB / 341.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.2244, allocations: 111 kB / 341.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.2266, allocations: 2.362 MB / 344.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.2272, allocations: 32.72 kB / 344.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.2272, allocations: 31.09 kB / 344.2 MB, free: 10.82 MB / 302.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real 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.0003888/0.2276, allocations: 281.4 kB / 344.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.2278, allocations: 190.5 kB / 344.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.2293, allocations: 0.8746 MB / 345.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2293, allocations: 6.281 kB / 345.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2293, allocations: 10.86 kB / 345.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2293, allocations: 0 / 345.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007726/0.2301, allocations: 0.7114 MB / 346.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.366e-05/0.2301, allocations: 55.7 kB / 346.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.2305, allocations: 65.48 kB / 346.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.2308, allocations: 144.9 kB / 346.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.2308, allocations: 21.28 kB / 346.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.2329, allocations: 2.342 MB / 348.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2329, allocations: 0 / 348.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.2346, allocations: 1.06 MB / 349.9 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.2349, allocations: 191.9 kB / 350.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.235, allocations: 10.84 kB / 350.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.2355, allocations: 19.14 kB / 350.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2356, allocations: 53.8 kB / 350.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.2356, allocations: 20.38 kB / 350.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008186/0.2364, allocations: 0.8648 MB / 351 MB, free: 6.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2364, allocations: 0 / 351 MB, free: 6.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008911/0.2373, allocations: 375.4 kB / 351.4 MB, free: 6.746 MB / 302.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.0006336/0.238, allocations: 493.3 kB / 351.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2393, allocations: 0.8033 MB / 352.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2393, allocations: 0 / 352.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.2401, allocations: 0.5533 MB / 353.3 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.2408, allocations: 186.7 kB / 353.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.2436, allocations: 2.326 MB / 355.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.244, allocations: 0.5837 MB / 356.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.2444, allocations: 183.2 kB / 356.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2445, allocations: 88.48 kB / 356.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2445, allocations: 0 / 356.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of Templates: time 0.0267/0.2712, allocations: 13.63 MB / 370.2 MB, free: 4.086 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.817583158612251]