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.001792/0.001792, allocations: 112.5 kB / 18.45 MB, free: 4.562 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.002263/0.002263, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.47/1.47, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.00153/0.00153, allocations: 55.92 kB / 374.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09873, allocations: 53.33 MB / 427.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.1873/0.286, allocations: 6.103 MB / 433.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2886, allocations: 1.564 MB / 435.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.2892, allocations: 24.25 kB / 435.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.2895, allocations: 167.1 kB / 435.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.2901, allocations: 299 kB / 435.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.2908, allocations: 410.2 kB / 436.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2919, allocations: 1.395 MB / 437.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.2924, allocations: 300.6 kB / 437.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.2931, allocations: 0.5053 MB / 438.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.2937, allocations: 0.5675 MB / 438.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.2939, allocations: 135.2 kB / 438.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.2942, allocations: 187.7 kB / 439.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.2944, allocations: 270.7 kB / 439.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.2949, allocations: 0.5911 MB / 440 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.2965, allocations: 1.542 MB / 441.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2965, allocations: 2.062 kB / 441.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2965, allocations: 4 kB / 441.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.2965, allocations: 0 / 441.5 MB, free: 5.109 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.002854/0.2994, allocations: 1.408 MB / 442.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2994, allocations: 9.469 kB / 442.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.2998, allocations: 129.7 kB / 443.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.3006, allocations: 0.5651 MB / 443.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.3007, allocations: 65.75 kB / 443.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3008, allocations: 85.62 kB / 443.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.3025, allocations: 0.8589 MB / 444.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3025, allocations: 1.219 kB / 444.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.3026, allocations: 40.19 kB / 444.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.3026, allocations: 20.84 kB / 444.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.3042, allocations: 0.8512 MB / 445.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00541/0.3096, allocations: 3.227 MB / 448.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3107, allocations: 0.619 MB / 449.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006613/0.3114, allocations: 395.6 kB / 449.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.3114, allocations: 11.14 kB / 449.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3115, allocations: 43.95 kB / 449.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.455e-06/0.3115, allocations: 0 / 449.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004898/0.3164, allocations: 2.282 MB / 452.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.3164, allocations: 63.25 kB / 452.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.3173, allocations: 0.61 MB / 452.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.3174, allocations: 37.98 kB / 452.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.3177, allocations: 444.2 kB / 453.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.318, allocations: 276.7 kB / 453.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3182, allocations: 145 kB / 453.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.3185, allocations: 388 kB / 454.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.3191, allocations: 328.9 kB / 454.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.3199, allocations: 469.5 kB / 454.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.3213, allocations: 0.8024 MB / 455.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3213, allocations: 1.438 kB / 455.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00245/0.3237, allocations: 1.114 MB / 456.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3238, allocations: 6.688 kB / 456.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3238, allocations: 4.438 kB / 456.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.3244, allocations: 190.8 kB / 457 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.3253, allocations: 193.4 kB / 457.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/0.3294, allocations: 2.885 MB / 460 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009136/0.3303, allocations: 39.31 kB / 460.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.3304, allocations: 28.66 kB / 460.1 MB, free: 10.3 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.0004658/0.3309, allocations: 232.5 kB / 460.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.331, allocations: 95.98 kB / 460.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.3313, allocations: 96.95 kB / 460.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3313, allocations: 7.188 kB / 460.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/0.3313, allocations: 2.875 kB / 460.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3313, allocations: 3.984 kB / 460.5 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.3326, allocations: 0.8879 MB / 461.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3326, allocations: 3.938 kB / 461.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.3333, allocations: 144.3 kB / 461.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.3339, allocations: 181.7 kB / 461.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.3339, allocations: 22.48 kB / 461.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004002/0.3379, allocations: 2.896 MB / 464.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3379, allocations: 0.7969 kB / 464.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.3409, allocations: 1.428 MB / 466.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.3413, allocations: 150.5 kB / 466.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.3414, allocations: 17.12 kB / 466.2 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.3421, allocations: 53.92 kB / 466.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.3422, allocations: 55.86 kB / 466.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.3423, allocations: 19.09 kB / 466.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006031/0.3429, allocations: 429.1 kB / 466.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3429, allocations: 0 / 466.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001042/0.3439, allocations: 240.2 kB / 467 MB, free: 5.402 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.0002846/0.3442, allocations: 142.6 kB / 467.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.3467, allocations: 0.9958 MB / 468.2 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.3467, allocations: 5.094 kB / 468.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.3482, allocations: 0.6147 MB / 468.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009839/0.3492, allocations: 150.7 kB / 468.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.3529, allocations: 2.064 MB / 471 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.3535, allocations: 0.9788 MB / 472 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.3539, allocations: 66.06 kB / 472 MB, free: 2.094 MB / 366.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3539, allocations: 0 / 472 MB, free: 2.094 MB / 366.1 MB Notification: Performance of Templates: time 0.02381/0.3777, allocations: 15.05 MB / 487.1 MB, free: 4.164 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/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: 8.524047941988101]