Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001262/0.001262, allocations: 113 kB / 19.04 MB, free: 3.254 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.00127/0.00127, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2994, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.007495/0.3069, allocations: 2.822 MB / 423.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.309, allocations: 0.6427 MB / 424.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.3093, allocations: 4 kB / 424.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3096, allocations: 51.5 kB / 424.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.3102, allocations: 87.2 kB / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.3107, allocations: 95.81 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009082/0.3116, allocations: 378.5 kB / 425 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.312, allocations: 90.94 kB / 425 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.3123, allocations: 143.4 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.3128, allocations: 167.3 kB / 425.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3129, allocations: 32 kB / 425.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.313, allocations: 36 kB / 425.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3131, allocations: 79.69 kB / 425.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.3134, allocations: 159.2 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.3142, allocations: 379.8 kB / 426 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3142, allocations: 0 / 426 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3142, allocations: 3.938 kB / 426 MB, free: 9.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.3142, allocations: 4 kB / 426 MB, free: 9.949 MB / 334.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.002279/0.3165, allocations: 0.6573 MB / 426.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3165, allocations: 8.031 kB / 426.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3167, allocations: 36.75 kB / 426.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.3173, allocations: 280.7 kB / 427 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.3174, allocations: 16.94 kB / 427 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.3175, allocations: 24.38 kB / 427 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3187, allocations: 311.6 kB / 427.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3188, allocations: 0 / 427.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.3188, allocations: 4 kB / 427.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3188, allocations: 8 kB / 427.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.3204, allocations: 257.5 kB / 427.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.3234, allocations: 1.082 MB / 428.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3248, allocations: 214.5 kB / 428.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.3253, allocations: 76.8 kB / 429 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.3253, allocations: 11.98 kB / 429 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/0.326, allocations: 161.8 kB / 429.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.244e-06/0.326, allocations: 0 / 429.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.003316/0.3293, allocations: 0.5107 MB / 429.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3294, allocations: 114.7 kB / 429.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.33, allocations: 286.6 kB / 430 MB, free: 5.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.33, allocations: 25.7 kB / 430.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3302, allocations: 203.9 kB / 430.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.3303, allocations: 39.69 kB / 430.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.3305, allocations: 57.89 kB / 430.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3307, allocations: 330.8 kB / 430.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.3312, allocations: 96.14 kB / 430.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.3319, allocations: 202.1 kB / 431 MB, free: 4.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.3333, allocations: 312.7 kB / 431.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3333, allocations: 3.938 kB / 431.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002127/0.3354, allocations: 415.8 kB / 431.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.3355, allocations: 41.69 kB / 431.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3355, allocations: 4.094 kB / 431.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/0.336, allocations: 76.75 kB / 431.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.3364, allocations: 51.89 kB / 431.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.3405, allocations: 1.716 MB / 433.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.3411, allocations: 55.73 kB / 433.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.3412, allocations: 15.98 kB / 433.7 MB, free: 1.746 MB / 334.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.0002515/0.3414, allocations: 149.7 kB / 433.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.3415, allocations: 23.86 kB / 433.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.3416, allocations: 29.7 kB / 433.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3416, allocations: 0 / 433.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.3416, allocations: 0 / 433.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3416, allocations: 0 / 433.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.3421, allocations: 305.4 kB / 434.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3421, allocations: 192 / 434.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.3423, allocations: 31.95 kB / 434.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.3427, allocations: 64.81 kB / 434.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.3428, allocations: 0 / 434.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/0.3466, allocations: 1.7 MB / 435.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3466, allocations: 0 / 435.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.3483, allocations: 313.5 kB / 436.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.3485, allocations: 112.9 kB / 436.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.3486, allocations: 4 kB / 436.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.349, allocations: 27.97 kB / 436.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.3491, allocations: 31.91 kB / 436.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3492, allocations: 192 / 436.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003702/0.3495, allocations: 205.9 kB / 436.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3495, allocations: 0 / 436.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006366/0.3502, allocations: 79.89 kB / 436.7 MB, free: 14.45 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.0001891/0.3504, allocations: 103.7 kB / 436.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.352, allocations: 410.4 kB / 437.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.352, allocations: 4.062 kB / 437.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.3528, allocations: 226.5 kB / 437.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.3533, allocations: 40.88 kB / 437.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.355, allocations: 467.6 kB / 437.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.3556, allocations: 0.748 MB / 438.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.3557, allocations: 30.27 kB / 438.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.3558, allocations: 23.44 kB / 438.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3558, allocations: 3.938 kB / 438.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Templates: time 0.01639/0.3722, allocations: 4.331 MB / 443.1 MB, free: 8.016 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.698929966427386]