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.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.001476/0.001476, allocations: 120.2 kB / 21.94 MB, free: 8 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.001746/0.001746, allocations: 202.7 kB / 25.23 MB, free: 3.551 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.496/1.496, allocations: 207.6 MB / 236 MB, free: 9.977 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 51.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004702/0.2869, allocations: 2.778 MB / 400.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2885, allocations: 0.6951 MB / 401.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.2889, allocations: 5.219 kB / 401.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.2892, allocations: 42.16 kB / 401.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.2896, allocations: 100.7 kB / 401.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.29, allocations: 84.02 kB / 401.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.2906, allocations: 381.9 kB / 401.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.2909, allocations: 96.03 kB / 401.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2912, allocations: 148.2 kB / 401.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.2915, allocations: 175.5 kB / 402.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.621e-05/0.2916, allocations: 33.66 kB / 402.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.834e-05/0.2917, allocations: 35.44 kB / 402.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.2918, allocations: 63.98 kB / 402.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.292, allocations: 166.5 kB / 402.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.2926, allocations: 381.9 kB / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2926, allocations: 0.7031 kB / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2926, allocations: 1.094 kB / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.2927, allocations: 0 / 402.8 MB, free: 6.195 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.001584/0.2942, allocations: 0.582 MB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2943, allocations: 8.188 kB / 403.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.2944, allocations: 38.14 kB / 403.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2949, allocations: 221.8 kB / 403.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.2949, allocations: 18.31 kB / 403.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.2949, allocations: 24.34 kB / 403.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.2956, allocations: 300.5 kB / 403.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2956, allocations: 0.8438 kB / 403.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.2957, allocations: 14.31 kB / 404 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2957, allocations: 6.469 kB / 404 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.2965, allocations: 251.2 kB / 404.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.2982, allocations: 1.055 MB / 405.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.299, allocations: 200.5 kB / 405.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2994, allocations: 85.67 kB / 405.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.2994, allocations: 6.891 kB / 405.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.2998, allocations: 163.8 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.2998, allocations: 0 / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002047/0.3019, allocations: 458.1 kB / 406.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3019, allocations: 107.4 kB / 406.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.3023, allocations: 283.4 kB / 406.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3023, allocations: 31.52 kB / 406.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3024, allocations: 194 kB / 406.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3025, allocations: 54.3 kB / 406.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.3026, allocations: 48.38 kB / 406.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.3027, allocations: 335.4 kB / 407.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.303, allocations: 93.94 kB / 407.3 MB, free: 3.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.3033, allocations: 202.2 kB / 407.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.304, allocations: 303.7 kB / 407.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.304, allocations: 5.312 kB / 407.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001197/0.3052, allocations: 421.5 kB / 408.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.3052, allocations: 33.66 kB / 408.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3052, allocations: 8.125 kB / 408.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.3056, allocations: 83.44 kB / 408.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3058, allocations: 41.91 kB / 408.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.3081, allocations: 1.606 MB / 410 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.3085, allocations: 57.84 kB / 410 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.3086, allocations: 13.88 kB / 410 MB, free: 1.223 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.0001896/0.3088, allocations: 148.7 kB / 410.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.3088, allocations: 23.75 kB / 410.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.3089, allocations: 28 kB / 410.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3089, allocations: 1.188 kB / 410.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3089, allocations: 1.672 kB / 410.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3089, allocations: 0.8438 kB / 410.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.3092, allocations: 280.4 kB / 410.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3092, allocations: 3.938 kB / 410.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.3094, allocations: 18.56 kB / 410.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002865/0.3096, allocations: 67.14 kB / 410.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.3097, allocations: 6.094 kB / 410.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.3118, allocations: 1.599 MB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3118, allocations: 4.062 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3129, allocations: 311.7 kB / 412.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3131, allocations: 36.11 kB / 412.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3131, allocations: 5.375 kB / 412.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.3134, allocations: 23.91 kB / 412.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3135, allocations: 31.95 kB / 412.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3135, allocations: 6.375 kB / 412.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.3137, allocations: 204.6 kB / 412.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3137, allocations: 0 / 412.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.3142, allocations: 84.03 kB / 412.9 MB, free: 15 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.0001451/0.3143, allocations: 99.09 kB / 413 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3155, allocations: 401.8 kB / 413.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3155, allocations: 0.8125 kB / 413.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.316, allocations: 221.4 kB / 413.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3163, allocations: 39.64 kB / 413.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3177, allocations: 499.1 kB / 414.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.3182, allocations: 0.753 MB / 414.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.3183, allocations: 20.84 kB / 414.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3183, allocations: 0 / 414.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Templates: time 0.00976/0.3281, allocations: 4.446 MB / 419.3 MB, free: 11 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/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: 7.6165435758885]