Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001995/0.001995, allocations: 107.8 kB / 19.76 MB, free: 2.551 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.0022/0.0022, allocations: 190 kB / 22.93 MB, free: 5.582 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.956/1.956, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.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.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.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 52.2 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3851, allocations: 49.12 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004653/0.3897, allocations: 2.767 MB / 397.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3911, allocations: 0.6956 MB / 398 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.3913, allocations: 8.531 kB / 398 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.3916, allocations: 47.47 kB / 398 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.3918, allocations: 92.66 kB / 398.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.3922, allocations: 88.11 kB / 398.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.3927, allocations: 381.5 kB / 398.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3929, allocations: 93.05 kB / 398.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3931, allocations: 145.6 kB / 398.8 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.3933, allocations: 167.5 kB / 399 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.3934, allocations: 34.22 kB / 399 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.3935, allocations: 34.59 kB / 399.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.3935, allocations: 70.78 kB / 399.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3937, allocations: 161.8 kB / 399.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.3943, allocations: 380 kB / 399.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3943, allocations: 0 / 399.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3943, allocations: 0 / 399.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.3943, allocations: 4 kB / 399.7 MB, free: 6.156 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001578/0.3959, allocations: 0.6486 MB / 400.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.375e-05/0.396, allocations: 17.7 kB / 400.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3961, allocations: 38.64 kB / 400.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.3966, allocations: 277 kB / 400.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.3967, allocations: 19.73 kB / 400.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.3967, allocations: 25.34 kB / 400.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008714/0.3976, allocations: 305.6 kB / 401 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3976, allocations: 0.6094 kB / 401 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.3977, allocations: 18.36 kB / 401 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.3977, allocations: 6.219 kB / 401 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.3986, allocations: 252.6 kB / 401.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.4007, allocations: 1.089 MB / 402.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/0.4016, allocations: 209.8 kB / 402.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.4019, allocations: 84.58 kB / 402.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.402, allocations: 4.953 kB / 402.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004705/0.4024, allocations: 169.6 kB / 402.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/0.4024, allocations: 0 / 402.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002178/0.4046, allocations: 0.5083 MB / 403.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.4047, allocations: 105.6 kB / 403.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.4051, allocations: 289.2 kB / 403.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4051, allocations: 27.56 kB / 403.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.4053, allocations: 198.4 kB / 403.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.4053, allocations: 41.41 kB / 404 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.4054, allocations: 57.25 kB / 404 MB, free: 3.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4055, allocations: 331 kB / 404.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.4059, allocations: 93.91 kB / 404.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.4063, allocations: 203 kB / 404.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.407, allocations: 306.7 kB / 404.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.407, allocations: 5.219 kB / 404.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001251/0.4083, allocations: 418.4 kB / 405.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.4083, allocations: 34.08 kB / 405.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4083, allocations: 2.469 kB / 405.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.4087, allocations: 76.66 kB / 405.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.409, allocations: 51.8 kB / 405.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.4113, allocations: 1.72 MB / 407.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.4118, allocations: 60.09 kB / 407.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.4118, allocations: 10.28 kB / 407.3 MB, free: 0.7656 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.412, allocations: 161.6 kB / 407.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.4121, allocations: 24.84 kB / 407.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.4121, allocations: 30.11 kB / 407.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.4121, allocations: 2.078 kB / 407.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4121, allocations: 5.312 kB / 407.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4121, allocations: 0.7969 kB / 407.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.4125, allocations: 296.4 kB / 407.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4125, allocations: 1.375 kB / 407.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.4127, allocations: 25.73 kB / 407.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.413, allocations: 67.97 kB / 407.9 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.413, allocations: 1.031 kB / 407.9 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.4159, allocations: 1.706 MB / 409.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4159, allocations: 0 / 409.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.4171, allocations: 310.9 kB / 409.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.4173, allocations: 114.7 kB / 410 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.4174, allocations: 6.516 kB / 410 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.4176, allocations: 29.81 kB / 410 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4178, allocations: 24.3 kB / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.4178, allocations: 3.5 kB / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.4181, allocations: 204.9 kB / 410.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 0 / 410.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004901/0.4186, allocations: 80.39 kB / 410.4 MB, free: 14.37 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/0.4188, allocations: 113.2 kB / 410.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.4199, allocations: 407.6 kB / 410.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4199, allocations: 1.375 kB / 410.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.4205, allocations: 218.4 kB / 411.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.4208, allocations: 46.78 kB / 411.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.4221, allocations: 482.2 kB / 411.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.4226, allocations: 0.7571 MB / 412.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.4228, allocations: 27.03 kB / 412.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.4229, allocations: 23.47 kB / 412.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4229, allocations: 0 / 412.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Templates: time 0.01052/0.4334, allocations: 4.313 MB / 416.7 MB, free: 10.55 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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: 5.7215655464679]