Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001349/0.001349, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001506/0.001506, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.452/1.452, allocations: 230.6 MB / 257.5 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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 43.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2727, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007916/0.2806, allocations: 5.355 MB / 437 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.2842, allocations: 1.51 MB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006681/0.2849, allocations: 23.94 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.2853, allocations: 178.2 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006855/0.286, allocations: 289.2 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.287, allocations: 415.4 kB / 439.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2885, allocations: 1.395 MB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.289, allocations: 284.2 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.2897, allocations: 0.5063 MB / 441.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.2904, allocations: 0.5016 MB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.2906, allocations: 132 kB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.2909, allocations: 176 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.2912, allocations: 283.1 kB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.2917, allocations: 489.9 kB / 443.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.2932, allocations: 1.557 MB / 444.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2932, allocations: 0 / 444.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2932, allocations: 0 / 444.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.2933, allocations: 3.938 kB / 444.6 MB, free: 9.613 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002745/0.296, allocations: 1.342 MB / 446 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2961, allocations: 8.031 kB / 446 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.2964, allocations: 132.2 kB / 446.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009328/0.2974, allocations: 0.4939 MB / 446.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.2974, allocations: 62.38 kB / 446.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.2976, allocations: 96.36 kB / 446.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.2996, allocations: 1.106 MB / 447.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.2996, allocations: 0 / 447.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.2997, allocations: 39.94 kB / 447.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.2997, allocations: 20 kB / 447.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.3015, allocations: 0.8511 MB / 448.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.3071, allocations: 2.764 MB / 451.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3083, allocations: 0.6224 MB / 452.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.309, allocations: 395.2 kB / 452.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.309, allocations: 8.656 kB / 452.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.3091, allocations: 51.14 kB / 452.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.375e-06/0.3091, allocations: 0 / 452.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004795/0.3139, allocations: 2.182 MB / 454.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3139, allocations: 68 kB / 454.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/0.3147, allocations: 0.5537 MB / 455.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.3147, allocations: 41.64 kB / 455.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.3151, allocations: 456.2 kB / 455.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.3154, allocations: 269.7 kB / 456.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.3156, allocations: 146.6 kB / 456.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.3158, allocations: 382.8 kB / 456.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/0.3165, allocations: 329.9 kB / 457 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/0.3174, allocations: 475.9 kB / 457.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.3188, allocations: 0.8047 MB / 458.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3188, allocations: 0 / 458.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002233/0.3211, allocations: 1.099 MB / 459.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3211, allocations: 11.94 kB / 459.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3211, allocations: 4 kB / 459.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.3217, allocations: 188.8 kB / 459.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.3226, allocations: 195.7 kB / 459.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.3266, allocations: 2.726 MB / 462.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.3272, allocations: 40.03 kB / 462.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.3272, allocations: 35.98 kB / 462.6 MB, free: 7.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003554/0.3276, allocations: 229.7 kB / 462.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3277, allocations: 79.52 kB / 462.9 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.3279, allocations: 98.53 kB / 463 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3279, allocations: 4 kB / 463 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.3279, allocations: 4 kB / 463 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3279, allocations: 3.984 kB / 463 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.3289, allocations: 0.6075 MB / 463.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.3289, allocations: 0 / 463.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.3296, allocations: 151.8 kB / 463.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.3301, allocations: 175.1 kB / 463.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.3302, allocations: 27.98 kB / 463.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.3341, allocations: 2.726 MB / 466.7 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3341, allocations: 4.25 kB / 466.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.3367, allocations: 1.428 MB / 468.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3369, allocations: 67.52 kB / 468.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.337, allocations: 16 kB / 468.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.3376, allocations: 63.89 kB / 468.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.3377, allocations: 52.55 kB / 468.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.3377, allocations: 23.98 kB / 468.3 MB, free: 1.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000454/0.3382, allocations: 378.8 kB / 468.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3382, allocations: 96 / 468.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008299/0.339, allocations: 243.9 kB / 468.9 MB, free: 0.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002254/0.3392, allocations: 134.4 kB / 469.1 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.3415, allocations: 0.9862 MB / 470 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3415, allocations: 4 kB / 470 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.3429, allocations: 0.6197 MB / 470.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.3436, allocations: 118.4 kB / 470.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.3478, allocations: 2.015 MB / 472.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.3483, allocations: 391 kB / 473.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004322/0.3487, allocations: 89.09 kB / 473.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.3489, allocations: 55.41 kB / 473.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3489, allocations: 0 / 473.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of Templates: time 0.02277/0.3716, allocations: 11.99 MB / 485.3 MB, free: 324 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.084349203854799]