Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001568/0.001568, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 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.001526/0.001526, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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 1.685/1.685, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 67.88 kB / 373.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1471, allocations: 53.31 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005586/0.1527, allocations: 2.812 MB / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1541, allocations: 0.6856 MB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1542, allocations: 4 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1544, allocations: 47.5 kB / 430.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1546, allocations: 95.19 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1549, allocations: 79.89 kB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.1554, allocations: 374.5 kB / 431.3 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1556, allocations: 94.94 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1559, allocations: 155.4 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2364/0.3923, allocations: 155.8 kB / 431.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3924, allocations: 33.88 kB / 431.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3925, allocations: 34.91 kB / 431.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.3926, allocations: 72.66 kB / 431.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.3928, allocations: 164 kB / 432 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.3932, allocations: 372.5 kB / 432.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3932, allocations: 3.875 kB / 432.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3932, allocations: 1.094 kB / 432.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3932, allocations: 4.688 kB / 432.3 MB, free: 8.809 MB / 350.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.001141/0.3944, allocations: 0.6637 MB / 433 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3944, allocations: 10.81 kB / 433 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.3945, allocations: 38.17 kB / 433 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3948, allocations: 268.9 kB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3948, allocations: 16.56 kB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.3949, allocations: 25.28 kB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.3955, allocations: 302.4 kB / 433.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3955, allocations: 3.938 kB / 433.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.3956, allocations: 11.16 kB / 433.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3956, allocations: 11.19 kB / 433.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.3963, allocations: 251.6 kB / 433.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.3977, allocations: 1.09 MB / 435 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/0.3984, allocations: 207.7 kB / 435.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3987, allocations: 87.27 kB / 435.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3987, allocations: 4.625 kB / 435.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.3992, allocations: 168.2 kB / 435.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3992, allocations: 0 / 435.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0021/0.4013, allocations: 0.5066 MB / 436 MB, free: 7.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4013, allocations: 109.9 kB / 436.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.4016, allocations: 284.4 kB / 436.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4016, allocations: 27.33 kB / 436.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4017, allocations: 203.3 kB / 436.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.4018, allocations: 43.61 kB / 436.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.4019, allocations: 58.91 kB / 436.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.4019, allocations: 337 kB / 437 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.4023, allocations: 90.77 kB / 437.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.4026, allocations: 203.5 kB / 437.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.4033, allocations: 301 kB / 437.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4033, allocations: 1.375 kB / 437.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0012/0.4045, allocations: 427.9 kB / 438 MB, free: 5.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.4046, allocations: 35.22 kB / 438 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4046, allocations: 4.594 kB / 438 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.4049, allocations: 77.06 kB / 438.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.4051, allocations: 48.77 kB / 438.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4074, allocations: 1.713 MB / 439.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.4078, allocations: 55.69 kB / 439.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.4078, allocations: 10.44 kB / 439.9 MB, free: 4.398 MB / 350.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.0001584/0.408, allocations: 150.8 kB / 440.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.408, allocations: 31.31 kB / 440.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.4081, allocations: 23.27 kB / 440.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4081, allocations: 2.375 kB / 440.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4081, allocations: 0 / 440.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4081, allocations: 1.484 kB / 440.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.4084, allocations: 302.8 kB / 440.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4084, allocations: 3.938 kB / 440.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.4085, allocations: 22.97 kB / 440.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.4088, allocations: 74.27 kB / 440.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.4088, allocations: 1.188 kB / 440.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.4108, allocations: 1.701 MB / 442.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4108, allocations: 0 / 442.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.4119, allocations: 313.8 kB / 442.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.412, allocations: 119.2 kB / 442.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.412, allocations: 2.094 kB / 442.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.4123, allocations: 34.06 kB / 442.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/0.4124, allocations: 20.48 kB / 442.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4124, allocations: 4.344 kB / 442.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.4126, allocations: 200.4 kB / 442.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4126, allocations: 0 / 442.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.413, allocations: 83.73 kB / 443 MB, free: 2.035 MB / 350.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.0001319/0.4131, allocations: 109.1 kB / 443.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.4141, allocations: 413 kB / 443.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4141, allocations: 0 / 443.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.4145, allocations: 224 kB / 443.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.4148, allocations: 40.72 kB / 443.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.416, allocations: 468 kB / 444.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4163, allocations: 0.752 MB / 445 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.4165, allocations: 28.23 kB / 445 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.4165, allocations: 24.12 kB / 445 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4165, allocations: 4 kB / 445 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Templates: time 0.01055/0.4271, allocations: 4.266 MB / 449.3 MB, free: 324 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.153062121011317]