Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001975/0.001975, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 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.002435/0.002435, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2377, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003982/0.2417, allocations: 2.622 MB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2428, allocations: 0.6495 MB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2429, allocations: 4 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.2431, allocations: 47.52 kB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.2433, allocations: 99.17 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2435, allocations: 83.83 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.2439, allocations: 378.5 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.2441, allocations: 87.36 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.2443, allocations: 163.4 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.2445, allocations: 159.3 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.2445, allocations: 36 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.2446, allocations: 32 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.2447, allocations: 75.69 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2448, allocations: 131.5 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.2452, allocations: 382.2 kB / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2452, allocations: 0 / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2452, allocations: 0 / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2452, allocations: 0 / 437.3 MB, free: 1.789 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.0013/0.2465, allocations: 0.5936 MB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2466, allocations: 8.031 kB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.2467, allocations: 36.7 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.247, allocations: 226.9 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.247, allocations: 24.86 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.2471, allocations: 20.38 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.2478, allocations: 350.3 kB / 438.5 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2478, allocations: 3.938 kB / 438.5 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.2479, allocations: 12 kB / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2479, allocations: 7.984 kB / 438.5 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.2487, allocations: 253.6 kB / 438.8 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2503, allocations: 0.9306 MB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.2511, allocations: 202.6 kB / 439.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.2514, allocations: 84.78 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2514, allocations: 8 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.2519, allocations: 217.2 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.2519, allocations: 0 / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002098/0.254, allocations: 442.2 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.254, allocations: 106.8 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.2543, allocations: 265 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.2543, allocations: 29.7 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2545, allocations: 207.9 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.2545, allocations: 47.67 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.2546, allocations: 53.89 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2548, allocations: 326.8 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.2551, allocations: 133.7 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.2556, allocations: 283.2 kB / 442.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.2563, allocations: 304.4 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2563, allocations: 0 / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001258/0.2576, allocations: 449.5 kB / 442.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.2576, allocations: 33.7 kB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2576, allocations: 4 kB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.2579, allocations: 80.83 kB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.2582, allocations: 39.97 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.2605, allocations: 1.589 MB / 444.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.2609, allocations: 55.81 kB / 444.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.2609, allocations: 12 kB / 444.6 MB, free: 9.902 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.0001446/0.261, allocations: 141.8 kB / 444.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.2611, allocations: 27.8 kB / 444.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.2611, allocations: 21.7 kB / 444.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2611, allocations: 3.984 kB / 444.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2611, allocations: 3.984 kB / 444.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.2612, allocations: 35.78 kB / 444.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.2613, allocations: 12 kB / 444.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.2615, allocations: 27.95 kB / 444.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.2616, allocations: 27.95 kB / 444.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001334/0.2629, allocations: 373.6 kB / 445.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001071/0.264, allocations: 482.3 kB / 445.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003034/0.2643, allocations: 79.98 kB / 445.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.2645, allocations: 188.5 kB / 446 MB, free: 8.477 MB / 350.1 MB Notification: Performance of Backend: time 3.61e-07/0.2645, allocations: 0 / 446 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009848/0.2655, allocations: 434.1 kB / 446.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009826/0.2665, allocations: 0.9287 MB / 447.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of Templates: time 0.008824/0.2753, allocations: 4.545 MB / 451.9 MB, free: 2.555 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.279724412001087]