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.001045/0.001045, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009458/0.0009458, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9478/0.9478, allocations: 177 MB / 204.8 MB, free: 5.59 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.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 1.683e-06/1.683e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.004e-05, allocations: 5.406 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.006636/0.006666, allocations: 2.82 MB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.008087, allocations: 0.6777 MB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.008257, allocations: 4 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.008441, allocations: 39.58 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.008674, allocations: 99.11 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.008988, allocations: 91.81 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.009461, allocations: 398.1 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.009652, allocations: 87.3 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.009911, allocations: 219.5 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.01008, allocations: 123.7 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.01014, allocations: 36 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.01019, allocations: 35.94 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.01025, allocations: 71.69 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.01037, allocations: 119.7 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.01068, allocations: 251.1 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01068, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01068, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.01069, allocations: 4 kB / 278 MB, free: 12.37 MB / 266.7 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.0009263/0.01161, allocations: 0.6662 MB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01165, allocations: 8.031 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.01175, allocations: 56.7 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.01204, allocations: 221.1 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.01207, allocations: 24.81 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.0121, allocations: 24.38 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.01255, allocations: 293.1 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01256, allocations: 192 / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.01259, allocations: 12.38 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.0126, allocations: 11.94 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.01282, allocations: 98.88 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01403, allocations: 1.004 MB / 280.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.01426, allocations: 99.16 kB / 280.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.01436, allocations: 35.67 kB / 280.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01438, allocations: 0 / 280.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.01459, allocations: 187.4 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.01459, allocations: 0 / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007785/0.01537, allocations: 245 kB / 280.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.01542, allocations: 102.8 kB / 281 MB, free: 9.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.01566, allocations: 308.2 kB / 281.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01568, allocations: 37.64 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.01581, allocations: 254.7 kB / 281.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.01584, allocations: 43.62 kB / 281.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.01592, allocations: 55.55 kB / 281.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01607, allocations: 0.5079 MB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.01616, allocations: 57.91 kB / 282.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.01634, allocations: 264.5 kB / 282.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.01657, allocations: 241.1 kB / 282.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01657, allocations: 4 kB / 282.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004929/0.01707, allocations: 319.3 kB / 283.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.0171, allocations: 44.69 kB / 283.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01711, allocations: 4 kB / 283.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/0.01742, allocations: 79.56 kB / 283.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01755, allocations: 43.98 kB / 283.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.01889, allocations: 1.913 MB / 285.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.01908, allocations: 43.8 kB / 285.2 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.0191, allocations: 12 kB / 285.2 MB, free: 4.492 MB / 266.7 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.0001144/0.01921, allocations: 172.5 kB / 285.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.01925, allocations: 31.8 kB / 285.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.01929, allocations: 25.77 kB / 285.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01929, allocations: 0 / 285.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01929, allocations: 4.188 kB / 285.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0193, allocations: 0 / 285.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01947, allocations: 216.4 kB / 285.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01948, allocations: 0 / 285.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.01953, allocations: 15.98 kB / 285.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.01974, allocations: 71.62 kB / 285.7 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01976, allocations: 7.938 kB / 285.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.02086, allocations: 1.893 MB / 287.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02086, allocations: 192 / 287.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.02118, allocations: 199.8 kB / 287.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.02124, allocations: 35.88 kB / 287.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.02127, allocations: 15.92 kB / 287.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.02138, allocations: 19.98 kB / 287.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.02145, allocations: 23.89 kB / 287.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.02147, allocations: 4 kB / 287.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.0216, allocations: 205.1 kB / 288.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0216, allocations: 0 / 288.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.02191, allocations: 83.84 kB / 288.2 MB, free: 1.285 MB / 266.7 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.0001072/0.02202, allocations: 111.2 kB / 288.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.0225, allocations: 385.5 kB / 288.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0225, allocations: 0 / 288.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.02268, allocations: 238.2 kB / 288.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.02293, allocations: 44.47 kB / 289 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.0238, allocations: 427 kB / 289.4 MB, free: 8 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.979e-05/0.02387, allocations: 84.31 kB / 289.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.02394, allocations: 22.3 kB / 289.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.024, allocations: 24.48 kB / 289.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.024, allocations: 7.938 kB / 289.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of Templates: time 0.007214/0.03121, allocations: 4.353 MB / 293.9 MB, free: 11.56 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8457624041475356]